diff options
author | Andrew Thomas Sartor <andrew@sartor.net> | 2024-04-19 12:23:10 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 03:23:10 +0000 |
commit | 69b57e5efdc8a25025606569f8f20ea508a5263d (patch) | |
tree | 5a13a570f026a4b598e34aa6cdc0223bdc5a09d7 /ext/js/dom/native-simple-dom-parser.js | |
parent | 65ee2c8f6fe3ed3f67c697146ce683a0f918d85a (diff) |
Change hotkey triggering condition to account for IME usage (#837)
_isKeyCharacterInput only worked when not using an IME, as inside of an
IME when a keydown event is fired, the key is reported as "Process",
which does not have a key.length equal to 1. This resulted in hotkeys
being triggered while typing, which this commit fixes.
Diffstat (limited to 'ext/js/dom/native-simple-dom-parser.js')
0 files changed, 0 insertions, 0 deletions