summaryrefslogtreecommitdiff
path: root/src/ui/popup.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/popup.js')
-rw-r--r--src/ui/popup.js2
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];