diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-01-18 14:22:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-18 14:22:48 -0500 |
commit | 0420a29d77e7e91a87f8f70623e1dff067640fd8 (patch) | |
tree | 87f4a4589e693bf815c836df18c9d195ad152d24 /ext/bg/js/backend.js | |
parent | b0f0ecd7df7694e14f08c6cf376a964abe7ee7f5 (diff) |
Command refactor (#1271)
* Change selectors
* Change openHelpPage to openInfoPage
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r-- | ext/bg/js/backend.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index d83942c0..a426d04c 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -132,7 +132,7 @@ class Backend { this._commandHandlers = new Map([ ['toggleTextScanning', this._onCommandToggleTextScanning.bind(this)], - ['openHelpPage', this._onCommandOpenHelpPage.bind(this)], + ['openInfoPage', this._onCommandOpenInfoPage.bind(this)], ['openSettingsPage', this._onCommandOpenSettingsPage.bind(this)], ['openSearchPage', this._onCommandOpenSearchPage.bind(this)], ['openPopupWindow', this._onCommandOpenPopupWindow.bind(this)] @@ -774,7 +774,7 @@ class Backend { } } - async _onCommandOpenHelpPage() { + async _onCommandOpenInfoPage() { await this._openInfoPage(); } |