From 7c41cfb0b18540a293826bfab3096247b1cc1e10 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 1 Jul 2008 17:54:15 +0000 Subject: Fixed avatar menu on widgets git-svn-id: https://code.elgg.org/elgg/trunk@1253 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/profile/javascript.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'mod/profile/views/default') diff --git a/mod/profile/views/default/profile/javascript.php b/mod/profile/views/default/profile/javascript.php index b7770de05..f5dd5be68 100644 --- a/mod/profile/views/default/profile/javascript.php +++ b/mod/profile/views/default/profile/javascript.php @@ -16,7 +16,7 @@ ?> -$(document).ready(function() { +function setup_avatar_menu() { // avatar image menu link $("div.usericon img").mouseover(function() { @@ -90,6 +90,12 @@ $(document).ready(function() { $(".avatar_menu_button").hide(); } }); - + + +} + +$(document).ready(function() { + + setup_avatar_menu(); }); -- cgit v1.2.3