We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66adf27 commit 54dd9faCopy full SHA for 54dd9fa
2 files changed
src/bg/main.js
@@ -140,9 +140,7 @@
140
},
141
142
async openStandalonePopup() {
143
- let win = await browser.windows.getLastFocused({
144
- windowTypes: ["normal"]
145
- });
+ let win = await browser.windows.getLastFocused();
146
let [tab] = (await browser.tabs.query({
147
lastFocusedWindow: true,
148
active: true
src/ui/popup.js
@@ -25,7 +25,7 @@ addEventListener("unload", e => {
25
let optionsClosed = false;
26
let tab = (await browser.tabs.query({
27
windowId: browser.windows ?
28
- (await browser.windows.getLastFocused({windowTypes: ["normal"]})).id
+ (await browser.windows.getLastFocused()).id
29
: null,
30
31
}))[0];
0 commit comments