diff options
author | cyfraeviolae <cyfraeviolae> | 2022-02-25 17:20:27 -0500 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2022-02-25 17:20:27 -0500 |
commit | c3e293cfa36429fd0b10ebd1bf76b67cfba9e52a (patch) | |
tree | 4a253f0a32e57058a392ce8774a0452eeb3d686a | |
parent | b794a02df45f7e29461e658ce2d94abdf9f1356a (diff) |
update
-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; } |