Treat every space character as trusted

This commit is contained in:
SeerLite 2021-02-04 13:54:04 -03:00
parent 4ee2ae20c2
commit 3a6acfd729

View file

@ -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();