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 | |
parent | c53699a21bbb2f3884ecd74e6085efdbc2fc2a28 (diff) |
Fix ∅ .possible being toggled
-rw-r--r-- | pub/blankplays.js | 3 | ||||
-rw-r--r-- | pub/index.html | 2 |
2 files changed, 3 insertions, 2 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'); diff --git a/pub/index.html b/pub/index.html index f6c1dfe..4176ef8 100644 --- a/pub/index.html +++ b/pub/index.html @@ -6,7 +6,7 @@ <title>BlankPlays</title> <link rel="icon" href="/icon.png"> <link rel="stylesheet" href="/index.css"> - <script src="/blankplays.js?v=2" id="main-script" async></script> + <script src="/blankplays.js?v=3" id="main-script" async></script> </head> <body> <script blocking="render"> |