SPR-953: bugfixes for content-wide nav
This commit is contained in:
parent
30aa8e9544
commit
7ed058942a
1 changed files with 5 additions and 0 deletions
|
@ -45,6 +45,10 @@ jQuery(function () {
|
|||
$elem.find('a').first().focus();
|
||||
},
|
||||
|
||||
removeOpenStates = function() {
|
||||
$nav.find('.is-open').removeClass('is-open');
|
||||
},
|
||||
|
||||
/**
|
||||
* Toggle a navigation panel
|
||||
*
|
||||
|
@ -196,6 +200,7 @@ jQuery(function () {
|
|||
setDefaultContent();
|
||||
} else {
|
||||
setWideContent();
|
||||
removeOpenStates();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue