mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-28 03:21:40 +01:00
pass currentTab to doCheck
This commit is contained in:
parent
9809fc7d75
commit
e1158828ec
@ -718,7 +718,7 @@ export default class MainBackground {
|
|||||||
|
|
||||||
const currentTab = await this.tabsQueryFirst({ active: true, currentWindow: true });
|
const currentTab = await this.tabsQueryFirst({ active: true, currentWindow: true });
|
||||||
if (currentTab != null) {
|
if (currentTab != null) {
|
||||||
this.doCheck(tab);
|
this.doCheck(currentTab);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user