1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

init tabs on safari

This commit is contained in:
Kyle Spearrin
2019-08-16 20:46:53 -04:00
parent 6fe414ffbd
commit 30a77e0c43

View File

@@ -8,7 +8,7 @@ export default class TabsBackground {
constructor(private main: MainBackground, private platformUtilsService: PlatformUtilsService) {
this.isSafari = this.platformUtilsService.isSafari();
this.tabs = this.isSafari ? null : chrome.tabs;
this.tabs = this.isSafari ? {} : chrome.tabs;
}
async init() {