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 = {
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;