diff options
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/quick.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/js/quick.js b/core/js/quick.js index b1b43b73..d934bd72 100644 --- a/core/js/quick.js +++ b/core/js/quick.js @@ -12,7 +12,7 @@ var show_quick = function() { "position": "absolute", "top": pos.top, "left": pos.left, - "width": img.innerWidth() + 1, + "width": img.innerWidth(), "height": 32 }); quick.hover(function() { }, hide_quick); @@ -21,7 +21,8 @@ var show_quick = function() { {}, function(data, textStatus) { $("#gQuickPane").html(data); - $("#gQuickPane div").click(function() { + $("#gQuickPane a").click(function(e) { + e.preventDefault(); quick_do(quick, $(this), img); }); } @@ -55,6 +56,7 @@ var quick_do = function(quick, pane, img) { } }); } + return false; }; var hide_quick = function() { |