From 9b4d9d1d4604c9d65b1629b0e95eaa0c75e0a257 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 20 Jun 2010 16:51:06 -0700 Subject: 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. --- lib/gallery.common.css | 6 ++---- lib/gallery.common.js | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'lib') 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); }); }; -- cgit v1.2.3