0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

fixed loading icon bug

closes #662

- stops loading cat icon appearing by mistake
This commit is contained in:
cobbspur 2013-09-09 20:18:35 +01:00
parent fd3206311b
commit f3d58f5ecb

View file

@ -59,7 +59,7 @@
done: function (e, data) {
function showImage(width, height) {
$dropzone.find('img.js-upload-target').attr({"width": width, "height": height}).css({"display": "block"});
$dropzone.find('.fileupload-loading').removeClass('fileupload-loading');
$dropzone.find('.fileupload-loading').remove();
$dropzone.css({"height": "auto"});
$dropzone.delay(250).animate({opacity: 100}, 1000, function () {
self.init();