aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/lib/ui.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/lib/ui.js b/js/lib/ui.js
index 3448d6b35..f61e2faea 100644
--- a/js/lib/ui.js
+++ b/js/lib/ui.js
@@ -101,16 +101,16 @@ elgg.ui.initHoverMenu = function(parent) {
}
// avatar image menu link
- $(parent).find(".elgg-avatar").mouseover(function() {
+ $(parent).find(".elgg-avatar").live('mouseover', function() {
$(this).children(".elgg-icon-hover-menu").show();
})
- .mouseout(function() {
+ .live('mouseout', function() {
$(this).children(".elgg-icon-hover-menu").hide();
});
// avatar contextual menu
- $(".elgg-avatar > .elgg-icon-hover-menu").click(function(e) {
+ $(".elgg-avatar > .elgg-icon-hover-menu").live('click', function(e) {
var $hovermenu = $(this).parent().find(".elgg-menu-hover");