diff options
-rw-r--r-- | static/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |