From 8e7eed4b1255387ce27c2926f901f8678d60b466 Mon Sep 17 00:00:00 2001 From: pommicket Date: Fri, 19 Sep 2025 12:58:37 -0400 Subject: Fix ∅ .possible being toggled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pub/blankplays.js | 3 ++- 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 @@ BlankPlays - +