diff --git a/client/key/index.js b/client/key/index.js index e530c81d..e35ad9de 100644 --- a/client/key/index.js +++ b/client/key/index.js @@ -57,15 +57,7 @@ function KeyProto() { } function listener(event) { - const {body} = document; - const { - keyCode, - target, - } = event; - - // chrome double event pass - if (target != body) - return; + const {keyCode} = event; const alt = event.altKey; const ctrl = event.ctrlKey;