From: Eugene Crosser Date: Tue, 2 Sep 2008 13:54:44 +0000 (+0000) Subject: take care of showing the "loading" animation, at the right place X-Git-Tag: 2.00~14 X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=commitdiff_plain;h=26e618930f94a53875a461a44524a930d5e4b8a1;hp=38088a1142b0e2f5dff9361ba6ca88265511d1e8 take care of showing the "loading" animation, at the right place --- diff --git a/include/show.js b/include/show.js index 535c421..c333249 100644 --- a/include/show.js +++ b/include/show.js @@ -309,7 +309,11 @@ var Show = new Class({ }, showloading: function(){ - this.loadingdiv.setStyle('display', 'block'); + this.loadingdiv.setStyles({ + display: 'block', + width: this.coords.width, + height: this.coords.height, + }); }, hideloading: function(){