fix(core): update
This commit is contained in:
parent
3bc5e1d0e2
commit
d33366c487
@ -158,6 +158,8 @@ export class DomTools {
|
|||||||
script.addEventListener('load', function() {
|
script.addEventListener('load', function() {
|
||||||
done.resolve();
|
done.resolve();
|
||||||
});
|
});
|
||||||
|
const parentNode = document.head || document.body;
|
||||||
|
parentNode.append(script);
|
||||||
await done.promise;
|
await done.promise;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user