Ticket #38138: 38138.diff
File 38138.diff, 589 bytes (added by , 8 years ago) |
---|
-
src/wp-admin/js/image-edit.js
573 573 imgLoaded : function(postid) { 574 574 var img = $('#image-preview-' + postid), parent = $('#imgedit-crop-' + postid); 575 575 576 // Ensure init has run even when directly loaded. 577 if ( 'undefined' === typeof this.hold.sizer ) { 578 this.init( postid ); 579 } 580 576 581 this.initCrop(postid, img, parent); 577 582 this.setCropSelection(postid, 0); 578 583 this.toggleEditor(postid, 0);