diff options
author | pommicket <pommicket@gmail.com> | 2025-09-19 12:58:37 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-19 12:58:37 -0400 |
commit | 8e7eed4b1255387ce27c2926f901f8678d60b466 (patch) | |
tree | 5bc71a0099c3756e7ebe68286b187889d0dadd71 /pub/blankplays.js | |
parent | c53699a21bbb2f3884ecd74e6085efdbc2fc2a28 (diff) |
Fix ∅ .possible being toggled
Diffstat (limited to 'pub/blankplays.js')
-rw-r--r-- | pub/blankplays.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pub/blankplays.js b/pub/blankplays.js index 46faab5..01bfce1 100644 --- a/pub/blankplays.js +++ b/pub/blankplays.js @@ -399,7 +399,8 @@ If problem persists, e-mail ${EMAIL}.`); let row = parseInt(squareSelected.dataset.row); let col = parseInt(squareSelected.dataset.col); toggleInGuesses(row, col, letter); - tile.classList.toggle('possible'); + if (letter !== NOTHING) + tile.classList.toggle('possible'); } else { if (placing && placing !== tile) placing.classList.remove('placing'); tile.classList.toggle('placing'); |