summaryrefslogtreecommitdiff
path: root/js/toggleNavBar.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/toggleNavBar.ts')
-rw-r--r--js/toggleNavBar.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/js/toggleNavBar.ts b/js/toggleNavBar.ts
deleted file mode 100644
index 329a223..0000000
--- a/js/toggleNavBar.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-/// <reference path="setNavBarState.ts" />
-
-function toggleNavBar() {
- let nav_bar = document.getElementById("navBar")!;
-
- let state = NavBarState[nav_bar?.getAttribute("data-state")!];
-
- if (state == NavBarState.Visible) {
- state = NavBarState.Hidden;
- } else if (state == NavBarState.Hidden) {
- state = NavBarState.Visible;
- };
-
- setNavBarState(state);
-}