Only remove active elements in navigation on reload
This commit is contained in:
parent
7d45384289
commit
da7e599363
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue