mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 09:24:48 +00:00
loading screens
This commit is contained in:
parent
01f55ab27b
commit
82fc8fe8b1
@ -51,9 +51,11 @@ const versionSelector = {
|
|||||||
const game = {
|
const game = {
|
||||||
play: function (version?: string) {
|
play: function (version?: string) {
|
||||||
if (version) {
|
if (version) {
|
||||||
|
document.body.style.display = 'none';
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
window.top.location.href = version;
|
window.top.location.href = version;
|
||||||
} else if (selectedVersion) {
|
} else if (selectedVersion) {
|
||||||
|
document.body.style.display = 'none';
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
window.top.location.href = selectedVersion;
|
window.top.location.href = selectedVersion;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user