Perform null check on chrome.runtime
This commit is contained in:
parent
4b49b1fcc0
commit
1bf7a7cad6
|
@ -35,7 +35,7 @@ export default class NotificationBackground {
|
|||
}
|
||||
|
||||
async init() {
|
||||
if (!chrome.runtime) {
|
||||
if (chrome.runtime == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue