mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
Activate only the first match if multiple menu items carry the same URL
This commit is contained in:
parent
c76729a821
commit
f1f1813b04
@ -252,6 +252,8 @@
|
||||
$el.closest('li').addClass('active');
|
||||
$el.parents('li').addClass('active');
|
||||
}
|
||||
// Interrupt .each, only on menu item shall be active
|
||||
return false;
|
||||
} else if ($(el).closest('table.action').length) {
|
||||
$el.addClass('active');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user