aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-08 01:59:24 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-08 01:59:24 +0000
commitcc9f9436cc7fc7b24b8ffdd93811c4921c74d737 (patch)
treebea27863558cf24f79063632c9f833fd5daa6b8d /js
parent6e6568a57ec450514afc9ff12edb652135c253cb (diff)
downloadelgg-cc9f9436cc7fc7b24b8ffdd93811c4921c74d737.tar.gz
elgg-cc9f9436cc7fc7b24b8ffdd93811c4921c74d737.tar.bz2
more tweaking of css - menu and general clean up
git-svn-id: http://code.elgg.org/elgg/trunk@8064 36083f99-b078-4883-b0ff-0f9b5a30f544
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 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();
}
});
}