fix(content): possible null target
This commit is contained in:
parent
8a0d400464
commit
584f50dc38
@ -13,5 +13,5 @@ if (!!window.chrome) {
|
|||||||
script.setAttribute("type", "module");
|
script.setAttribute("type", "module");
|
||||||
|
|
||||||
// Inject logic script
|
// Inject logic script
|
||||||
target.appendChild(script);
|
if (!!target) target.appendChild(script);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user