1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

onInstalled listener must be wired up in ctor

This commit is contained in:
Kyle Spearrin
2018-01-17 23:21:17 -05:00
parent 4a34f9be59
commit bdc3eb559c
2 changed files with 26 additions and 24 deletions

View File

@@ -3,4 +3,6 @@ import MainBackground from './background/main.background';
const bitwardenIsBackground = (window as any).bitwardenIsBackground = true;
const bitwardenMain = (window as any).bitwardenMain = new MainBackground();
bitwardenMain.bootstrap();
bitwardenMain.bootstrap().then(() => {
// Finished bootstrapping
});