1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 09:24:48 +00:00

more fixes

This commit is contained in:
zumbiepig 2024-08-21 16:48:05 -07:00
parent b2dd01cd05
commit 01f55ab27b
No known key found for this signature in database
GPG Key ID: 17C891BE28B953DE

View File

@ -91,21 +91,25 @@ const game = {
const navigate = { const navigate = {
home: { home: {
game: function () { game: function () {
document.body.style.display = 'none';
const navUrl = '/home/game/'; const navUrl = '/home/game/';
storage.session.set('lastPage', navUrl); storage.session.set('lastPage', navUrl);
window.location.href = navUrl; window.location.href = navUrl;
}, },
clients: function () { clients: function () {
document.body.style.display = 'none';
const navUrl = '/home/clients/'; const navUrl = '/home/clients/';
storage.session.set('lastPage', navUrl); storage.session.set('lastPage', navUrl);
window.location.href = navUrl; window.location.href = navUrl;
}, },
archive: function () { archive: function () {
document.body.style.display = 'none';
const navUrl = '/home/archive/'; const navUrl = '/home/archive/';
storage.session.set('lastPage', navUrl); storage.session.set('lastPage', navUrl);
window.location.href = navUrl; window.location.href = navUrl;
}, },
downloads: function () { downloads: function () {
document.body.style.display = 'none';
const navUrl = '/home/downloads/'; const navUrl = '/home/downloads/';
storage.session.set('lastPage', navUrl); storage.session.set('lastPage', navUrl);
window.location.href = navUrl; window.location.href = navUrl;
@ -113,16 +117,19 @@ const navigate = {
}, },
mods: { mods: {
client: function () { client: function () {
document.body.style.display = 'none';
const navUrl = '/mods/client/'; const navUrl = '/mods/client/';
storage.session.set('lastPage', navUrl); storage.session.set('lastPage', navUrl);
window.location.href = navUrl; window.location.href = navUrl;
}, },
mods: function () { mods: function () {
document.body.style.display = 'none';
const navUrl = '/mods/mods/'; const navUrl = '/mods/mods/';
storage.session.set('lastPage', navUrl); storage.session.set('lastPage', navUrl);
window.location.href = navUrl; window.location.href = navUrl;
}, },
resourcepacks: function () { resourcepacks: function () {
document.body.style.display = 'none';
const navUrl = '/mods/resourcepacks/'; const navUrl = '/mods/resourcepacks/';
storage.session.set('lastPage', navUrl); storage.session.set('lastPage', navUrl);
window.location.href = navUrl; window.location.href = navUrl;