fix(core): update

This commit is contained in:
Philipp Kunz 2022-04-22 09:37:50 +02:00
parent 3bc5e1d0e2
commit d33366c487

View File

@ -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;
} }