From d59e751c5b7c23f0dce2a146b6b8ced80231a0cb Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Wed, 15 Apr 2026 02:59:58 +1000 Subject: v0.9a --- wwwroot/js/mobile.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'wwwroot') diff --git a/wwwroot/js/mobile.js b/wwwroot/js/mobile.js index 769f435..0af11cc 100644 --- a/wwwroot/js/mobile.js +++ b/wwwroot/js/mobile.js @@ -1,3 +1,7 @@ -function toggleMobileMenu() { - document.getElementById("mobile-menu").classList.toggle("hidden"); +function hideMobileMenu() { + document.getElementsByTagName('body')[0].classList.remove('mobile-menu-visible'); +} + +function toggleMobileMenu() { + document.getElementsByTagName('body')[0].classList.toggle('mobile-menu-visible'); } -- cgit v1.3