diff --git a/client/src/lib/game.svelte b/client/src/lib/game.svelte index b84ac88..2b23a0e 100644 --- a/client/src/lib/game.svelte +++ b/client/src/lib/game.svelte @@ -156,6 +156,7 @@ function check(e: MouseEvent) { if(!moves.length) return; var confirmed = confirm("Are you sure you want to quit?"); + // @ts-ignore if(!confirmed) return e.preventDefault() || false; } @@ -287,8 +288,8 @@ {#if containerStates[i] == 1}
- - + +
{:else if containerStates[i] == 2} @@ -300,8 +301,8 @@ {:else if containerStates[i] == 3}
- - + +