diff options
author | hackademix | 2018-07-12 15:58:42 +0200 |
---|---|---|
committer | hackademix | 2018-07-12 15:58:42 +0200 |
commit | 54dd9fa754262cb14204e68e1b34b214657bc1db (patch) | |
tree | e5a46bf3ccd11db86d9a04190cc98793f6ffab50 /src/ui | |
parent | 66adf2720e6d24ee9dc7958546d458338d8e8737 (diff) | |
download | noscript-54dd9fa754262cb14204e68e1b34b214657bc1db.tar.gz noscript-54dd9fa754262cb14204e68e1b34b214657bc1db.tar.xz noscript-54dd9fa754262cb14204e68e1b34b214657bc1db.zip |
Removed deprecated windowType usages.
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/popup.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/popup.js b/src/ui/popup.js index 059e3df..55eff03 100644 --- a/src/ui/popup.js +++ b/src/ui/popup.js @@ -25,7 +25,7 @@ addEventListener("unload", e => { let optionsClosed = false; let tab = (await browser.tabs.query({ windowId: browser.windows ? - (await browser.windows.getLastFocused({windowTypes: ["normal"]})).id + (await browser.windows.getLastFocused()).id : null, active: true }))[0]; |