Skip to content

Commit

Permalink
Only remove active elements in navigation on reload
Browse files Browse the repository at this point in the history
  • Loading branch information
majentsch committed Sep 9, 2014
1 parent 7d45384 commit da7e599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/icinga/events.js
Expand Up @@ -151,7 +151,7 @@

// restore menu state
if (activeMenuId) {
$('li.active', el).removeClass('active');
$('[role="navigation"] li.active', el).removeClass('active');

var $selectedMenu = $('#' + activeMenuId, el);
var $outerMenu = $selectedMenu.parent().closest('li');
Expand Down

0 comments on commit da7e599

Please sign in to comment.