From ef14f0faf56738139d034136aa7ab47588581c2c Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sat, 30 May 2009 15:25:24 -0600 Subject: White space fixes --- modules/gallery/js/quick.js | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'modules') diff --git a/modules/gallery/js/quick.js b/modules/gallery/js/quick.js index e7f35cea..8a87ed07 100644 --- a/modules/gallery/js/quick.js +++ b/modules/gallery/js/quick.js @@ -67,22 +67,22 @@ var quick_do = function(cont, pane, img) { url: pane.attr("href"), dataType: "json", success: function(data) { - img.css("opacity", "1"); - cont.removeClass("gLoadingLarge"); - if (data.src) { - img.attr("width", data.width); - img.attr("height", data.height); - img.attr("src", data.src); - if (data.height > data.width) { - img.css("margin-top", -32); - } else { - img.css("margin-top", 0); - } + img.css("opacity", "1"); + cont.removeClass("gLoadingLarge"); + if (data.src) { + img.attr("width", data.width); + img.attr("height", data.height); + img.attr("src", data.src); + if (data.height > data.width) { + img.css("margin-top", -32); + } else { + img.css("margin-top", 0); + } } else if (data.location) { window.location = data.location; - } else if (data.reload) { + } else if (data.reload) { window.location.reload(); - } + } } }); } @@ -92,4 +92,3 @@ var quick_do = function(cont, pane, img) { var hide_quick = function() { $("#gQuickPane").remove(); }; - -- cgit v1.2.3 From 8482f51e1546f9131835bed5cd52bba1f2895e20 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sat, 30 May 2009 23:01:48 -0600 Subject: Add transparency for overlay in IE 7 and 8 --- modules/gallery/js/fullsize.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/gallery/js/fullsize.js b/modules/gallery/js/fullsize.js index 7428adb5..f95dc428 100644 --- a/modules/gallery/js/fullsize.js +++ b/modules/gallery/js/fullsize.js @@ -7,9 +7,9 @@ $(document).ready(function() { var height = $(document).height(); $("body").append('
'); -- cgit v1.2.3