summaryrefslogtreecommitdiff
path: root/modules/gallery/js
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-11 05:07:41 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-11 05:07:41 -0700
commit0098ef05c3dafd8b6a8357e004cbe10ebcf0c51b (patch)
treebe83f2a62cfb4d39d33401c6170969b483346f1e /modules/gallery/js
parent954ab5a5051edb67eca8ae74283a80a226e39672 (diff)
parent4132d6c55ed91ca66607680bc44775c4ba650da6 (diff)
Merge branch 'master' of git@github.com:/gallery/gallery3
Diffstat (limited to 'modules/gallery/js')
-rw-r--r--modules/gallery/js/quick.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/gallery/js/quick.js b/modules/gallery/js/quick.js
index 4ebdac47..32e34ef3 100644
--- a/modules/gallery/js/quick.js
+++ b/modules/gallery/js/quick.js
@@ -13,16 +13,7 @@ var show_quick = function() {
var quick = $(this).find(".gQuick");
$("#gQuickPane").remove();
cont.append("<div id=\"gQuickPane\"></div>");
- var img = cont.find(".gThumbnail,.gResize");
- var pos = cont.position();
- $("#gQuickPane").css({
- "position": "absolute",
- "top": pos.top,
- "left": pos.left,
- "text-align": "center",
- "width": cont.innerWidth() + 1,
- "height": "auto"
- }).hide();
+ $("#gQuickPane").hide();
cont.hover(function() {}, hide_quick);
$.get(
quick.attr("href"),