summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-06-20 16:51:06 -0700
committerBharat Mediratta <bharat@menalto.com>2010-06-20 16:51:06 -0700
commit9b4d9d1d4604c9d65b1629b0e95eaa0c75e0a257 (patch)
tree59f0cbb63c871ab1bf67f7190d7e11b3a7cc5e17 /lib
parentfb81de7a5b871cc7bccc0e44b973ba5c63e8c879 (diff)
Fix two issues with the "loading" overlay:
1) gallery.common.js was using the wrong class name 2) we need to mark the CSS as !important because it conflicts with other background images. Note that this will replace the existing background which may not be desireable.
Diffstat (limited to 'lib')
-rw-r--r--lib/gallery.common.css6
-rw-r--r--lib/gallery.common.js2
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
index 6c465ddb..5dd0d031 100644
--- a/lib/gallery.common.css
+++ b/lib/gallery.common.css
@@ -363,13 +363,11 @@ form .g-error {
.g-loading-large,
.g-dialog-loading-large {
- background: #e8e8e8 url('images/loading-large.gif') no-repeat center center;
- font-size: 0;
+ background: #e8e8e8 url('images/loading-large.gif') no-repeat center center !important;
}
.g-loading-small {
- background: #e8e8e8 url('images/loading-small.gif') no-repeat center center;
- font-size: 0;
+ background: #e8e8e8 url('images/loading-small.gif') no-repeat center center !important;
}
/** *******************************************************************
diff --git a/lib/gallery.common.js b/lib/gallery.common.js
index eb57c86c..a9aa6b2c 100644
--- a/lib/gallery.common.js
+++ b/lib/gallery.common.js
@@ -61,7 +61,7 @@
size = "small";
break;
}
- $(this).toggleClass("g-loading" + size);
+ $(this).toggleClass("g-loading-" + size);
});
};