From 01f55ab27bb44687aab84d3786d20416357d8834 Mon Sep 17 00:00:00 2001 From: zumbiepig <121742281+zumbiepig@users.noreply.github.com> Date: Wed, 21 Aug 2024 16:48:05 -0700 Subject: [PATCH] more fixes --- src/resources/scripts/main.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/resources/scripts/main.ts b/src/resources/scripts/main.ts index 640fab9..8edfbd9 100644 --- a/src/resources/scripts/main.ts +++ b/src/resources/scripts/main.ts @@ -91,21 +91,25 @@ const game = { const navigate = { home: { game: function () { + document.body.style.display = 'none'; const navUrl = '/home/game/'; storage.session.set('lastPage', navUrl); window.location.href = navUrl; }, clients: function () { + document.body.style.display = 'none'; const navUrl = '/home/clients/'; storage.session.set('lastPage', navUrl); window.location.href = navUrl; }, archive: function () { + document.body.style.display = 'none'; const navUrl = '/home/archive/'; storage.session.set('lastPage', navUrl); window.location.href = navUrl; }, downloads: function () { + document.body.style.display = 'none'; const navUrl = '/home/downloads/'; storage.session.set('lastPage', navUrl); window.location.href = navUrl; @@ -113,16 +117,19 @@ const navigate = { }, mods: { client: function () { + document.body.style.display = 'none'; const navUrl = '/mods/client/'; storage.session.set('lastPage', navUrl); window.location.href = navUrl; }, mods: function () { + document.body.style.display = 'none'; const navUrl = '/mods/mods/'; storage.session.set('lastPage', navUrl); window.location.href = navUrl; }, resourcepacks: function () { + document.body.style.display = 'none'; const navUrl = '/mods/resourcepacks/'; storage.session.set('lastPage', navUrl); window.location.href = navUrl;