From 054ec63634d451f08a2237f51a1ddcbb904eef1f Mon Sep 17 00:00:00 2001 From: r888888888 Date: Fri, 5 Jul 2013 19:55:33 -0700 Subject: [PATCH] potential fix for #1818 --- app/assets/javascripts/posts.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/posts.js b/app/assets/javascripts/posts.js index d9d118228..b84b15d43 100644 --- a/app/assets/javascripts/posts.js +++ b/app/assets/javascripts/posts.js @@ -347,9 +347,10 @@ $image.height($image.data("original-height")); $image.on("load", function() { $image.css("opacity", "1"); - }) + $("#image-resize-notice").hide(); + }); + $("#image-resize-notice").html("Loading..."); Danbooru.Note.Box.scale_all(); - $("#image-resize-notice").hide(); $image.data("scale_factor", 1); e.preventDefault(); });