1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

autofill command should only query current window

This commit is contained in:
Kyle Spearrin 2017-10-27 10:34:38 -04:00
parent aacaa947e1
commit e57f3fe5f0

View File

@ -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',