Fine-tune hoverable menu
This commit is contained in:
parent
ff6859d1d1
commit
0c9695992f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue