Ticket #24716: 24716.32.diff
File 24716.32.diff, 513 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/js/media-views.js
diff --git a/src/wp-includes/js/media-views.js b/src/wp-includes/js/media-views.js index 6bf147c..a791659 100644
a b 5081 5081 if ( this.options.resize ) { 5082 5082 $(window).on( 'resize.attachments', this._resizeCss ); 5083 5083 } 5084 this.css(); 5084 5085 // Call this.css() after this view has been rendered in the DOM so 5086 // attachments get proper width applied. 5087 _.defer( this.css, this ); 5085 5088 }, 5086 5089 5087 5090 dispose: function() {