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/context-main.js | |
parent | b0f0ecd7df7694e14f08c6cf376a964abe7ee7f5 (diff) |
Command refactor (#1271)
* Change selectors
* Change openHelpPage to openInfoPage
Diffstat (limited to 'ext/bg/js/context-main.js')
-rw-r--r-- | ext/bg/js/context-main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/context-main.js b/ext/bg/js/context-main.js index 1d15a81b..839b534e 100644 --- a/ext/bg/js/context-main.js +++ b/ext/bg/js/context-main.js @@ -30,13 +30,13 @@ class DisplayController { this._showExtensionInfo(manifest); this._setupEnvironment(); this._setupButtonEvents('.action-open-search', 'openSearchPage', chrome.runtime.getURL('/bg/search.html')); - this._setupButtonEvents('.action-open-help', 'openHelpPage', chrome.runtime.getURL('/bg/info.html')); + this._setupButtonEvents('.action-open-info', 'openInfoPage', chrome.runtime.getURL('/bg/info.html')); const optionsFull = await api.optionsGetFull(); this._optionsFull = optionsFull; const optionsPageUrl = optionsFull.global.useSettingsV2 ? '/bg/settings2.html' : manifest.options_ui.page; - this._setupButtonEvents('.action-open-options', 'openSettingsPage', chrome.runtime.getURL(optionsPageUrl)); + this._setupButtonEvents('.action-open-settings', 'openSettingsPage', chrome.runtime.getURL(optionsPageUrl)); const {profiles, profileCurrent} = optionsFull; const primaryProfile = (profileCurrent >= 0 && profileCurrent < profiles.length) ? profiles[profileCurrent] : null; |