mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
Get correct navigation link id on first render
This commit is contained in:
parent
fa2c9e46ed
commit
ec9e9e8dfb
@ -37,6 +37,9 @@
|
||||
var $menus = $('[role="navigation"] li.active', el);
|
||||
if ($menus.size()) {
|
||||
activeMenuId = $menus[0].id;
|
||||
$menus.find('li.active').first().each(function () {
|
||||
activeMenuId = this.id;
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user