null check
This commit is contained in:
parent
4d3ffad257
commit
ded5ace0de
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit 00f1aad65ea2e243713d409873dfb5d833296897
|
||||
Subproject commit 3238b819268d2155376a22b963887f59a3eeb7ca
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue