summaryrefslogtreecommitdiff
path: root/ext/mixed/js/hotkey-handler.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-17 18:43:16 -0500
committerGitHub <noreply@github.com>2021-01-17 18:43:16 -0500
commitde5d3ec3ad608893a9db75229296094f85c200c3 (patch)
tree15b492aae3b4e5ca11e134b1aebb44c192abb2da /ext/mixed/js/hotkey-handler.js
parent04d53e5642ddf4fe9a15f22df0c3892e53074739 (diff)
Remove _onMessage (#1265)
Diffstat (limited to 'ext/mixed/js/hotkey-handler.js')
-rw-r--r--ext/mixed/js/hotkey-handler.js6
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);