diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-09-05 02:16:57 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-09-05 02:16:57 +0300 |
commit | 666db815d995099c12477d3f632f2ce34fedfc70 (patch) | |
tree | 9fa3acd2f4b0d8920c3dc695991f05fe71e5c50a /src/js | |
parent | 868dc4d375ffa0cdc16951da3cf3c71fd01511c8 (diff) | |
download | arching-kaos-web-ui-666db815d995099c12477d3f632f2ce34fedfc70.tar.gz arching-kaos-web-ui-666db815d995099c12477d3f632f2ce34fedfc70.tar.bz2 arching-kaos-web-ui-666db815d995099c12477d3f632f2ce34fedfc70.zip |
Fixed Stellar menu
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/menu-magic.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/js/menu-magic.js b/src/js/menu-magic.js index bc48a65..b4ee247 100644 --- a/src/js/menu-magic.js +++ b/src/js/menu-magic.js @@ -25,6 +25,13 @@ function exploreSubToggle(){ lowerFloor.style.display = lowerFloor.style.display === 'none' ? 'flex' : 'none'; } +var stellarSubmenu = document.querySelector('#stellar-submenu'); +stellarSubmenu.style.display = 'none'; +function stellarSubToggle(){ + stellarSubmenu.style.display = stellarSubmenu.style.display === 'none' ? 'flex' : 'none'; + upperFloor.style.display = upperFloor.style.display === 'none' ? 'flex' : 'none'; + lowerFloor.style.display = lowerFloor.style.display === 'none' ? 'flex' : 'none'; +} // Function to hide all the panes function menuinit(){ |