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:
Scott Taylor 2014-05-30 19:52:35 +00:00
parent 3d48e21248
commit 804b82bd11

View File

@ -316,8 +316,8 @@ var imageEdit = window.imageEdit = {
};
elem.load(ajaxurl, data, function() {
elem.fadeIn('fast');
head.fadeOut('fast', function(){
elem.fadeIn('fast');
btn.removeAttr('disabled');
spin.hide();
});