mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-27 22:11:38 +01:00
Fix syntax (#2434)
This commit is contained in:
parent
a8857aad76
commit
2094c85205
@ -497,7 +497,7 @@ export default class MainBackground {
|
|||||||
await this.webRequestBackground.init();
|
await this.webRequestBackground.init();
|
||||||
await this.windowsBackground.init();
|
await this.windowsBackground.init();
|
||||||
|
|
||||||
if (this.platformUtilsService.isFirefox && !this.isPrivateMode) {
|
if (this.platformUtilsService.isFirefox() && !this.isPrivateMode) {
|
||||||
// Set new Private Mode windows to the default icon - they do not share state with the background page
|
// Set new Private Mode windows to the default icon - they do not share state with the background page
|
||||||
BrowserApi.onWindowCreated(async (win) => {
|
BrowserApi.onWindowCreated(async (win) => {
|
||||||
if (win.incognito) {
|
if (win.incognito) {
|
||||||
|
Loading…
Reference in New Issue
Block a user