1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-16 02:27:00 +02: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() {