diff --git a/src/js/script.js b/src/js/script.js index 3c53f4752..691b6c3f4 100644 --- a/src/js/script.js +++ b/src/js/script.js @@ -4837,11 +4837,7 @@ $(document).keyup((event) => { }); $(document).keydown(function (event) { - if ( - !(activeFunBox == "nospace" && event.key == " ") && - !event.originalEvent.isTrusted - ) - return; + if (!(event.key == " ") && !event.originalEvent.isTrusted) return; if (!resultVisible) { let now = performance.now();