Remove siblings hover-menu when moving over active entry
This commit is contained in:
parent
a5e41f6c08
commit
234bdbd46b
|
@ -119,6 +119,7 @@
|
||||||
delay = 800;
|
delay = 800;
|
||||||
|
|
||||||
if ($li.hasClass('active')) {
|
if ($li.hasClass('active')) {
|
||||||
|
$li.siblings().removeClass('hover');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ($li.children('ul').children('li').length === 0) {
|
if ($li.children('ul').children('li').length === 0) {
|
||||||
|
|
Loading…
Reference in New Issue