diff options
Diffstat (limited to 'js/setNavBarState.ts')
-rw-r--r-- | js/setNavBarState.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/setNavBarState.ts b/js/setNavBarState.ts index 04058f7..cfcc509 100644 --- a/js/setNavBarState.ts +++ b/js/setNavBarState.ts @@ -7,7 +7,7 @@ function setNavBarState(state: NavBarState) { console.log("setting navigation bar to `" + NavBarState[state] + "`"); let nav_bar = document.getElementById("navBar")!; - let hamburger = document.getElementById("hamburger")! + let hamburger = document.getElementById("hamburger")!; nav_bar.setAttribute("data-state", NavBarState[state]); hamburger.setAttribute("data-navBarState", NavBarState[state]); |