Fine-tune hoverable menu

This commit is contained in:
Thomas Gelf 2014-03-27 19:55:19 +00:00
parent ff6859d1d1
commit 0c9695992f
1 changed files with 3 additions and 0 deletions

View File

@ -294,6 +294,9 @@
$li = $a.closest('li');
$('#menu .active').removeClass('active');
$li.addClass('active');
if ($li.hasClass('hover')) {
$li.removeClass('hover');
}
}
if (href === '#') {
return false;