Just a comment
This commit is contained in:
parent
235d655808
commit
415193f9de
|
@ -201,7 +201,8 @@
|
|||
|
||||
// If link is hash tag...
|
||||
if (href === '#') {
|
||||
// ...it may be a menu section without a dedicated link:
|
||||
// ...it may be a menu section without a dedicated link.
|
||||
// Switch the active menu item:
|
||||
if (isMenuLink) {
|
||||
$li = $a.closest('li');
|
||||
$('#menu .active').removeClass('active');
|
||||
|
|
Loading…
Reference in New Issue