fix(content): possible null target

This commit is contained in:
wanhose 2020-06-15 21:33:52 +02:00
parent 8a0d400464
commit 584f50dc38

View File

@ -13,5 +13,5 @@ if (!!window.chrome) {
script.setAttribute("type", "module");
// Inject logic script
target.appendChild(script);
if (!!target) target.appendChild(script);
};