[O] Make heart the default puzzle instead
This commit is contained in:
@@ -233,8 +233,6 @@
|
||||
masked.forEach(idx => nMask[idx] = 0)
|
||||
console.log('Solution does not match')
|
||||
}
|
||||
// setTimeout(() => editModeReduce(zeros, n - 1), 100)
|
||||
// } else setTimeout(() => editModeReduce(zeros, n), 100)
|
||||
console.log(nMask)
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -10,7 +10,7 @@
|
||||
let error: string | null = null;
|
||||
|
||||
if (!edit) {
|
||||
if (!puzzleId) window.location.href = "/?puzzle=meow";
|
||||
if (!puzzleId) window.location.href = "/?puzzle=heart";
|
||||
else Backend.get(puzzleId).then((data) => (puzzleData = data)).catch(e => (error = e));
|
||||
}
|
||||
</script>
|
||||
@@ -23,7 +23,7 @@
|
||||
<div class="overlay">
|
||||
<div>
|
||||
{#if puzzleId === null}
|
||||
<a href="/?puzzle=meow">Redirecting...</a>
|
||||
<a href="/?puzzle=heart">Redirecting...</a>
|
||||
{:else if error}
|
||||
<h2 class="error">Error</h2>
|
||||
<span>{error}</span>
|
||||
|
||||
Reference in New Issue
Block a user