1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01: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 44908808b3
commit 41815413d6

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