1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-29 04:17:41 +02:00

Perform null check on chrome.runtime

This commit is contained in:
Daniel James Smith 2021-10-18 16:31:59 +02:00
parent 4b49b1fcc0
commit 1bf7a7cad6
No known key found for this signature in database
GPG Key ID: 03E4BD365FF06726

View File

@ -35,7 +35,7 @@ export default class NotificationBackground {
}
async init() {
if (!chrome.runtime) {
if (chrome.runtime == null) {
return;
}