From e7d7396f7ad433bae59dd8460307b4dfa9ab33db Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Thu, 15 Jan 2009 04:32:34 +0000 Subject: Minor display updates for quick edit menu. --- core/js/quick.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'core/js/quick.js') diff --git a/core/js/quick.js b/core/js/quick.js index 0462e939..ce36ca35 100644 --- a/core/js/quick.js +++ b/core/js/quick.js @@ -13,15 +13,15 @@ var show_quick = function() { "position": "absolute", "top": pos.top, "left": pos.left, - "width": cont.innerWidth(), + "width": cont.innerWidth() + 1, "height": 32 - }); - cont.hover(function() { }, hide_quick); + }).hide(); + cont.hover(function() {}, hide_quick); $.get( quick.attr("href"), {}, function(data, textStatus) { - $("#gQuickPane").html(data); + $("#gQuickPane").html(data).slideDown("fast"); $("#gQuickPane a").click(function(e) { e.preventDefault(); quick_do(cont, $(this), img); @@ -46,7 +46,7 @@ var quick_do = function(cont, pane, img) { img.attr("height", data.height); img.attr("src", data.src); if (data.height > data.width) { - img.css("margin-top", -$("#gQuickPane").height()); + img.css("margin-top", -32); } else { img.css("margin-top", 0); } -- cgit v1.2.3