summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-09-22 22:31:05 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-09-22 22:31:05 -0600
commit7f066b34c9d965814c0a07a8f71e016edeb383d2 (patch)
tree4ec404fcb21117bfce0c54a96fc32422d79183fc /lib
parent91c99c9627c8a6352054200d242fd81e963a1c73 (diff)
Apply thumbnail hover effect to context menu's list items, which holds the menu open in ie6 and ie7 now. Items which appear above the meta data list underneath flicker, though. I'll fix later.
Diffstat (limited to 'lib')
-rw-r--r--lib/gallery.common.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gallery.common.js b/lib/gallery.common.js
index 81904548..6e3efe5a 100644
--- a/lib/gallery.common.js
+++ b/lib/gallery.common.js
@@ -116,7 +116,7 @@
var in_progress = 0;
$(".gContextMenu *").removeAttr('title');
$(".gContextMenu ul").hide();
- $(".gContextMenu").hover(
+ $(".gContextMenu li").hover(
function() {
if (in_progress == 0) {
$(this).find("ul").slideDown("fast", function() { in_progress = 1; });
@@ -125,7 +125,7 @@
}
},
function() {
- $(this).find("ul").slideUp("slow", function() { in_progress = 0; });
+ $(this).find(".gContext").slideUp("slow", function() { in_progress = 0; });
}
);
}