Skip to content

Commit

Permalink
Change various upgrade docs to be in a more logical order with simila…
Browse files Browse the repository at this point in the history
…r titles
  • Loading branch information
Mark-H committed Apr 16, 2021
1 parent 450838c commit 12493f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/template/src/js/components/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class Nav {
if (langSwitch) {
self.handleToggle(langSwitch, 'switchsettings');
}

let activeItem = document.querySelector()
}

collapseNavigation() {
Expand Down Expand Up @@ -67,7 +69,7 @@ class Nav {
}
activepageItem.scrollIntoView();
}

// expand first item if no active item exists (e.i. root page)
if (document.querySelector('.c-nav__item--active') === null) {
let firstItem = document.querySelector('.c-nav__item:first-of-type');
Expand Down

0 comments on commit 12493f4

Please sign in to comment.