Await SchemaReady before translating and running Syndicate scripts
This commit is contained in:
parent
c1cdf3660f
commit
f4f2ad0783
|
@ -6,6 +6,7 @@ const currentSyndicateTarget = Syndicate.Dataspace.global;
|
|||
|
||||
(() => {
|
||||
async function translateScripts() {
|
||||
if (SchemaReady) await SchemaReady;
|
||||
|
||||
const syndicateScripts =
|
||||
Array.from(document.getElementsByTagName('script'))
|
||||
|
|
Loading…
Reference in New Issue