diff options
-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"> |