mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-21 11:35:34 +01:00
autofill command should only query current window
This commit is contained in:
parent
aacaa947e1
commit
e57f3fe5f0
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user