Fix nospace simulated spaces getting ignored

This commit is contained in:
SeerLite 2021-02-02 18:04:04 -03:00
parent 3fabc0af36
commit efc0d36a3e

View file

@ -4837,7 +4837,11 @@ $(document).keyup((event) => {
});
$(document).keydown(function (event) {
if (!event.originalEvent.isTrusted) return;
if (
!(activeFunBox == "nospace" && event.key == " ") &&
!event.originalEvent.isTrusted
)
return;
if (!resultVisible) {
let now = performance.now();