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/bg/main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/bg') diff --git a/src/bg/main.js b/src/bg/main.js index 74df62d..d89ef63 100644 --- a/src/bg/main.js +++ b/src/bg/main.js @@ -140,9 +140,7 @@ }, async openStandalonePopup() { - let win = await browser.windows.getLastFocused({ - windowTypes: ["normal"] - }); + let win = await browser.windows.getLastFocused(); let [tab] = (await browser.tabs.query({ lastFocusedWindow: true, active: true -- cgit v1.2.3