From 666db815d995099c12477d3f632f2ce34fedfc70 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 5 Sep 2023 02:16:57 +0300 Subject: Fixed Stellar menu --- src/index.html | 19 ++++++------------- src/js/menu-magic.js | 7 +++++++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/index.html b/src/index.html index f19761b..dee5f92 100644 --- a/src/index.html +++ b/src/index.html @@ -31,7 +31,7 @@ - + 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(){ -- cgit v1.2.3