mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-28 01:39:29 +08:00
Treat every space character as trusted
This commit is contained in:
parent
4ee2ae20c2
commit
3a6acfd729
1 changed files with 1 additions and 5 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue