]> www.average.org Git - mkgallery.git/commitdiff
take care of showing the "loading" animation, at the right place
authorEugene Crosser <crosser@average.org>
Tue, 2 Sep 2008 13:54:44 +0000 (13:54 +0000)
committerEugene Crosser <crosser@average.org>
Tue, 2 Sep 2008 13:54:44 +0000 (13:54 +0000)
include/show.js

index 535c4217e40d772a27a6de91b5ec29ab15ffc026..c333249931cf168e53d31d43dad839eef4b2603f 100644 (file)
@@ -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(){