diff --git a/public/js/script.js b/public/js/script.js index 5c3a2bd03..c3affaba6 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -2569,7 +2569,7 @@ $(document).keydown((event) => { updateCaretPosition(); } //space - if (event["keyCode"] == 32) { + if (event["keyCode"] == 32 || event.key === " ") { if (!testActive) return; if (currentInput == "") return; event.preventDefault();