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