From cc9f9436cc7fc7b24b8ffdd93811c4921c74d737 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 8 Feb 2011 01:59:24 +0000 Subject: more tweaking of css - menu and general clean up git-svn-id: http://code.elgg.org/elgg/trunk@8064 36083f99-b078-4883-b0ff-0f9b5a30f544 --- js/lib/ui.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js') diff --git a/js/lib/ui.js b/js/lib/ui.js index 2ea0ccc46..72a087aa0 100644 --- a/js/lib/ui.js +++ b/js/lib/ui.js @@ -105,7 +105,7 @@ elgg.ui.initHoverMenu = function(parent) { // avatar contextual menu $(".elgg-avatar > .elgg-icon-hover-menu").click(function(e) { - var $hovermenu = $(this).parent().find(".elgg-hover-menu"); + var $hovermenu = $(this).parent().find(".elgg-menu-hover"); // close hovermenu if arrow is clicked & menu already open if ($hovermenu.css('display') == "block") { @@ -118,13 +118,13 @@ elgg.ui.initHoverMenu = function(parent) { } // hide any other open hover menus - $(".elgg-hover-menu:visible").not($hovermenu).fadeOut(); + $(".elgg-menu-hover:visible").not($hovermenu).fadeOut(); }); // hide avatar menu when user clicks elsewhere $(document).click(function(event) { if ($(event.target).parents(".elgg-avatar").length == 0) { - $(".elgg-hover-menu").fadeOut(); + $(".elgg-menu-hover").fadeOut(); } }); } -- cgit v1.2.3