diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-02-12 23:07:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 23:07:19 -0500 |
commit | daea80942c7a89b43c6aa4579cbc2fa0f198b0b0 (patch) | |
tree | 9ba5e2ee3c5d5cf0c62206d98e09ab4747e2ba57 /ext/bg/js | |
parent | 4053d9b2fac82108f701788c511aedaf988de4c5 (diff) |
Fix old settings page not being used properly (#1376)
Diffstat (limited to 'ext/bg/js')
-rw-r--r-- | ext/bg/js/backend.js | 2 | ||||
-rw-r--r-- | ext/bg/js/context-main.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index 2fb290bb..557fea91 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -1831,7 +1831,7 @@ class Backend { async _openSettingsPage(mode) { const {useSettingsV2} = this._options.global; const manifest = chrome.runtime.getManifest(); - const url = chrome.runtime.getURL(useSettingsV2 ? '/settings.html' : manifest.options_ui.page); + const url = chrome.runtime.getURL(useSettingsV2 ? manifest.options_ui.page : '/settings-old.html'); switch (mode) { case 'existingOrNewTab': if (useSettingsV2) { diff --git a/ext/bg/js/context-main.js b/ext/bg/js/context-main.js index 98716958..5cc56745 100644 --- a/ext/bg/js/context-main.js +++ b/ext/bg/js/context-main.js @@ -40,7 +40,7 @@ class DisplayController { this._setupHotkeys(); - const optionsPageUrl = optionsFull.global.useSettingsV2 ? '/settings.html' : manifest.options_ui.page; + const optionsPageUrl = optionsFull.global.useSettingsV2 ? manifest.options_ui.page : '/settings-old.html'; this._setupButtonEvents('.action-open-settings', 'openSettingsPage', chrome.runtime.getURL(optionsPageUrl)); this._setupButtonEvents('.action-open-permissions', null, chrome.runtime.getURL('/permissions.html')); |