diff --git a/src/resources/scripts/main.ts b/src/resources/scripts/main.ts index 8edfbd9..4ca9547 100644 --- a/src/resources/scripts/main.ts +++ b/src/resources/scripts/main.ts @@ -51,9 +51,11 @@ const versionSelector = { const game = { play: function (version?: string) { if (version) { + document.body.style.display = 'none'; // @ts-expect-error window.top.location.href = version; } else if (selectedVersion) { + document.body.style.display = 'none'; // @ts-expect-error window.top.location.href = selectedVersion; } else {