From 8d8905aab304cbfad257b2d8535345dcbea0db43 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 7 Jan 2017 10:57:16 -0500 Subject: [PATCH] dont focus newly opened logger window: FF webext complains about it and not needed anyway --- platform/chromium/vapi-background.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 3aac3c4a1..db6b0305e 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -443,11 +443,7 @@ vAPI.tabs.open = function(details) { // Open in a standalone window if ( details.popup === true ) { - chrome.windows.create({ - url: details.url, - focused: details.active, - type: 'popup' - }); + chrome.windows.create({ url: details.url, type: 'popup' }); return; }