mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
null check
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 00f1aad65e...3238b81926
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user