diff --git src/wp-includes/js/media-views.js src/wp-includes/js/media-views.js
index 95db551a68..80442ea721 100644
|
|
|
Library = wp.media.controller.State.extend(/** @lends wp.media.controller.Librar |
| 954 | 954 | } |
| 955 | 955 | |
| 956 | 956 | this._filterContext(); |
| 957 | | this.get('library').on( 'add', this._filterContext, this ); |
| 958 | 957 | |
| 959 | 958 | this.resetDisplays(); |
| 960 | 959 | }, |
diff --git src/wp-includes/js/media/controllers/library.js src/wp-includes/js/media/controllers/library.js
index 6f30cbb354..7a0f965f7c 100644
|
|
|
Library = wp.media.controller.State.extend(/** @lends wp.media.controller.Librar |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | this._filterContext(); |
| 89 | | this.get('library').on( 'add', this._filterContext, this ); |
| 90 | 89 | |
| 91 | 90 | this.resetDisplays(); |
| 92 | 91 | }, |