diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-02-19 18:39:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 18:39:28 -0500 |
commit | 19d0d5b5121e1b5d1bf939151d1e118ec5b168ab (patch) | |
tree | b61c38e94d6ba688982ea4d43de9ae6f0cbe3090 /ext | |
parent | 98ac73260e1eec325ae18933876038d60f88ec20 (diff) |
Fix useSettingsV2 option (for real this time) (#1421)
Diffstat (limited to 'ext')
-rw-r--r-- | ext/js/background/backend.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/background/backend.js b/ext/js/background/backend.js index 2a3ccbc2..323219a4 100644 --- a/ext/js/background/backend.js +++ b/ext/js/background/backend.js @@ -1914,7 +1914,7 @@ class Backend { const url = chrome.runtime.getURL(useSettingsV2 ? manifest.options_ui.page : '/settings-old.html'); switch (mode) { case 'existingOrNewTab': - if (useSettingsV2) { + if (!useSettingsV2) { const predicate = ({url: url2}) => (url2 !== null && url2.startsWith(url)); const tab = await this._findTabs(1000, false, predicate, false); if (tab !== null) { |