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:
Scott Taylor 2014-05-30 19:53:15 +00:00
parent 2d6721dbc9
commit ecdcfb55bb
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}); });

File diff suppressed because one or more lines are too long