mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 09:24:48 +00:00
more fixes
This commit is contained in:
parent
b2dd01cd05
commit
01f55ab27b
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user