summaryrefslogtreecommitdiff
path: root/core/js/quick.js
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-01-13 06:20:35 +0000
committerChad Kieffer <chad@2tbsp.com>2009-01-13 06:20:35 +0000
commit5f17ae4f02c22a42c4de53831c8c23d22c869820 (patch)
treeea438395e7a3ebcb778c7ce5f739aada8cd6aaf4 /core/js/quick.js
parent2fb5a0efb16978fb57eb8cc57ce392c4ba191019 (diff)
Update quick edit markup, styles, js. One step towards jquery ui theme.
Diffstat (limited to 'core/js/quick.js')
-rw-r--r--core/js/quick.js6
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() {