diff --git a/jslib b/jslib index 00f1aad65ea..3238b819268 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 00f1aad65ea2e243713d409873dfb5d833296897 +Subproject commit 3238b819268d2155376a22b963887f59a3eeb7ca diff --git a/src/background/idle.background.ts b/src/background/idle.background.ts index 1be8fca7f63..ac6dd82a567 100644 --- a/src/background/idle.background.ts +++ b/src/background/idle.background.ts @@ -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() {