From c3e293cfa36429fd0b10ebd1bf76b67cfba9e52a Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Fri, 25 Feb 2022 17:20:27 -0500 Subject: update --- static/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/script.js b/static/script.js index 552da72..73a6f4f 100644 --- a/static/script.js +++ b/static/script.js @@ -146,7 +146,7 @@ function winGame(challenge) { document.getElementById('share').value = `I solved the ${date} Prosodyle at cyfraeviolae.org/prosodyle. My first guess was: "${firstguess}".` } -document.getElementById('entry').addEventListener('keydown', function(e) { +document.getElementById('entry').addEventListener('keypress', function(e) { if (!Array.from(e.target.classList).includes('entrybox')) { return; } -- cgit v1.2.3