NIHVIVO-2588. Forgot to commit js file to handle pull down menu for user menu
This commit is contained in:
parent
a39fbc7850
commit
09c2f33633
1 changed files with 19 additions and 0 deletions
19
webapp/web/js/userMenu/userMenuUtils.js
Normal file
19
webapp/web/js/userMenu/userMenuUtils.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
$(function(){
|
||||
|
||||
$("ul.dropdown li").hover(function(){
|
||||
|
||||
$(this).addClass("hover");
|
||||
$('ul:first',this).css('visibility', 'visible');
|
||||
|
||||
}, function(){
|
||||
|
||||
$(this).removeClass("hover");
|
||||
$('ul:first',this).css('visibility', 'hidden');
|
||||
|
||||
});
|
||||
|
||||
$("ul.dropdown li ul li:has(ul)").find("a:first").append(" » ");
|
||||
|
||||
});
|
Loading…
Add table
Reference in a new issue