ignore input-element

This commit is contained in:
Shin'ya Ueoka 2017-08-13 12:32:11 +09:00
parent 3c1b33add3
commit bbc8ff515e

View file

@ -16,6 +16,10 @@ const invokeEvent = (action) => {
}
window.addEventListener("keydown", (e) => {
if (e.target instanceof HTMLInputElement) {
return;
}
let request = {
type: 'event.keydown',
code: e.keyCode,