Make the image editor less jumpy when opening.
Props eddiemoya, ericlewis. Fixes #22793. git-svn-id: https://develop.svn.wordpress.org/trunk@28639 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3d48e21248
commit
804b82bd11
@ -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();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user