Only remove active elements in navigation on reload

This commit is contained in:
Matthias Jentsch 2014-09-09 16:32:15 +02:00
parent 7d45384289
commit da7e599363
1 changed files with 1 additions and 1 deletions

View File

@ -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');