diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-02-14 18:18:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-14 18:18:02 -0500 |
commit | 48b59375eb50a3c11ab1cbee659164e6991827ac (patch) | |
tree | 160bfe321492839cf3211b27285490e43a7f130d /ext/js/display/search-display-controller.js | |
parent | 9279ced68660610764931da681f22c8b71bf1b6e (diff) |
Cleanup yomichan api (#1394)
* Move invokeMessageHandler to core.js
* Move getMessageResponseResult to backghend.js
* Replace getTemporaryListenerResult
Diffstat (limited to 'ext/js/display/search-display-controller.js')
-rw-r--r-- | ext/js/display/search-display-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/display/search-display-controller.js b/ext/js/display/search-display-controller.js index 3b48af44..d1a4593f 100644 --- a/ext/js/display/search-display-controller.js +++ b/ext/js/display/search-display-controller.js @@ -104,7 +104,7 @@ class SearchDisplayController { _onMessage({action, params}, sender, callback) { const messageHandler = this._messageHandlers.get(action); if (typeof messageHandler === 'undefined') { return false; } - return yomichan.invokeMessageHandler(messageHandler, params, callback, sender); + return invokeMessageHandler(messageHandler, params, callback, sender); } _onKeyDown(e) { |