From e57f3fe5f05a3d73051b95482f6fb0a9f757c04b Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 27 Oct 2017 10:34:38 -0400 Subject: [PATCH] autofill command should only query current window --- src/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background.js b/src/background.js index 6ded6575b9..6980894e32 100644 --- a/src/background.js +++ b/src/background.js @@ -64,7 +64,7 @@ var bg_isBackground = true, }); } else if (command === 'autofill_login') { - chrome.tabs.query({ active: true }, function (tabs) { + chrome.tabs.query({ active: true, windowId: chrome.windows.WINDOW_ID_CURRENT }, function (tabs) { if (tabs.length) { ga('send', { hitType: 'event',