From 54dd9fa754262cb14204e68e1b34b214657bc1db Mon Sep 17 00:00:00 2001 From: hackademix Date: Thu, 12 Jul 2018 15:58:42 +0200 Subject: Removed deprecated windowType usages. --- src/ui/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui') 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]; -- cgit v1.2.3