diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-01 17:54:15 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-01 17:54:15 +0000 |
commit | 7c41cfb0b18540a293826bfab3096247b1cc1e10 (patch) | |
tree | aa31eccd26c23edda9785b0d9a4debe15cd8f5bb /mod/profile/views/default | |
parent | 5942776c8449c4508d7c0b40599e1b1891341c3f (diff) | |
download | elgg-7c41cfb0b18540a293826bfab3096247b1cc1e10.tar.gz elgg-7c41cfb0b18540a293826bfab3096247b1cc1e10.tar.bz2 |
Fixed avatar menu on widgets
git-svn-id: https://code.elgg.org/elgg/trunk@1253 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default')
-rw-r--r-- | mod/profile/views/default/profile/javascript.php | 10 |
1 files changed, 8 insertions, 2 deletions
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();
});
|