mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-08 09:32:07 +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