VRFS-1030 fix menu hover sensitivity

This commit is contained in:
Brian Smith 2014-02-18 02:24:56 -05:00
parent 61a745398e
commit a471e67a84
1 changed files with 9 additions and 1 deletions

View File

@ -21,7 +21,15 @@
}
function events() {
$('.userinfo').hoverIntent(menuHoverIn, menuHoverOut);
$('.userinfo').hoverIntent({
over: function () {
$('ul.shortcuts', this).fadeIn(100);
},
out: function() {
$('ul.shortcuts', this).fadeOut(100);
},
timeout: 500
});
$('.userinfo .invite-friends .menuheader').on('click', function(e) {
$(this).closest('li').css('height', 'auto').find('ul').toggle();