aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/menu-magic.js7
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(){