diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-01-17 18:43:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 18:43:16 -0500 |
commit | de5d3ec3ad608893a9db75229296094f85c200c3 (patch) | |
tree | 15b492aae3b4e5ca11e134b1aebb44c192abb2da /ext/mixed/js/hotkey-handler.js | |
parent | 04d53e5642ddf4fe9a15f22df0c3892e53074739 (diff) |
Remove _onMessage (#1265)
Diffstat (limited to 'ext/mixed/js/hotkey-handler.js')
-rw-r--r-- | ext/mixed/js/hotkey-handler.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/mixed/js/hotkey-handler.js b/ext/mixed/js/hotkey-handler.js index 2de2a8d2..423410b7 100644 --- a/ext/mixed/js/hotkey-handler.js +++ b/ext/mixed/js/hotkey-handler.js @@ -169,12 +169,6 @@ class HotkeyHandler extends EventDispatcher { // Private - _onMessage({action, params}, sender, callback) { - const messageHandler = this._messageHandlers.get(action); - if (typeof messageHandler === 'undefined') { return false; } - return yomichan.invokeMessageHandler(messageHandler, params, callback, sender); - } - _onKeyDown(e) { const key = e.code; const hotkeyInfo = this._hotkeys.get(key); |