summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-11 05:52:50 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-11 05:52:50 -0700
commitecc7d881e3bad1dd8edf5cbd4382bda9a668fcb8 (patch)
tree2dc9680a55df68ce824e1eca3b9f72070c0a52f3
parent6281ed03d54a010efdee3988a893cfcd7f3663b5 (diff)
Fix bug introduced in e0e450d90fe67ac199d82d2b8e902cff5c8b6c7d where
it got rid of the 'img' var which is used when we set the click action on buttons. Partial fix for #528.
-rw-r--r--modules/gallery/js/quick.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/js/quick.js b/modules/gallery/js/quick.js
index 32e34ef3..28ced3f6 100644
--- a/modules/gallery/js/quick.js
+++ b/modules/gallery/js/quick.js
@@ -11,6 +11,7 @@ $(document).ready(function() {
var show_quick = function() {
var cont = $(this);
var quick = $(this).find(".gQuick");
+ var img = cont.find(".gThumbnail,.gResize");
$("#gQuickPane").remove();
cont.append("<div id=\"gQuickPane\"></div>");
$("#gQuickPane").hide();