From 5f17ae4f02c22a42c4de53831c8c23d22c869820 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Tue, 13 Jan 2009 06:20:35 +0000 Subject: Update quick edit markup, styles, js. One step towards jquery ui theme. --- core/js/quick.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'core/js/quick.js') 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() { -- cgit v1.2.3