Ticket #27366: 27366-13.patch
File 27366-13.patch, 448 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/js/media-models.js
diff --git src/wp-includes/js/media-models.js src/wp-includes/js/media-models.js index 21b42b4..53eefdf 100644
window.wp = window.wp || {}; 472 472 setAspectRatio: function() { 473 473 var full; 474 474 475 if ( this.attachment ) {475 if ( this.attachment && this.attachment.get( 'sizes' ) ) { 476 476 full = this.attachment.get( 'sizes' ).full; 477 477 478 478 if ( full ) {