mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-28 04:08:47 +02: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') {
|
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) {
|
if (tabs.length) {
|
||||||
ga('send', {
|
ga('send', {
|
||||||
hitType: 'event',
|
hitType: 'event',
|
||||||
|
Loading…
Reference in New Issue
Block a user