mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
Perform null check on chrome.runtime
This commit is contained in:
@@ -35,7 +35,7 @@ export default class NotificationBackground {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async init() {
|
async init() {
|
||||||
if (!chrome.runtime) {
|
if (chrome.runtime == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user