1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

null check

This commit is contained in:
Kyle Spearrin
2019-06-28 23:33:53 -04:00
parent 4d3ffad257
commit ded5ace0de
2 changed files with 2 additions and 2 deletions

2
jslib

Submodule jslib updated: 00f1aad65e...3238b81926

View File

@@ -15,7 +15,7 @@ export default class IdleBackground {
constructor(private lockService: LockService, private storageService: StorageService,
private notificationsService: NotificationsService) {
this.idle = chrome.idle || (browser && browser.idle);
this.idle = chrome.idle || (browser != null ? browser.idle : null);
}
async init() {