mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-13 15:20:06 +01:00
Make the image editor less jumpy when opening.
Props eddiemoya, ericlewis. Fixes #22793. Built from https://develop.svn.wordpress.org/trunk@28639 git-svn-id: http://core.svn.wordpress.org/trunk@28457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2d6721dbc9
commit
ecdcfb55bb
@ -316,8 +316,8 @@ var imageEdit = window.imageEdit = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
elem.load(ajaxurl, data, function() {
|
elem.load(ajaxurl, data, function() {
|
||||||
elem.fadeIn('fast');
|
|
||||||
head.fadeOut('fast', function(){
|
head.fadeOut('fast', function(){
|
||||||
|
elem.fadeIn('fast');
|
||||||
btn.removeAttr('disabled');
|
btn.removeAttr('disabled');
|
||||||
spin.hide();
|
spin.hide();
|
||||||
});
|
});
|
||||||
|
2
wp-admin/js/image-edit.min.js
vendored
2
wp-admin/js/image-edit.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user