diff --git a/previewers/betatest/js/rocrate.js b/previewers/betatest/js/rocrate.js index d07a837..79832e1 100644 --- a/previewers/betatest/js/rocrate.js +++ b/previewers/betatest/js/rocrate.js @@ -18,5 +18,9 @@ function writeContentAndData(data, fileUrl, file, title, authors) { s2.type = "text/javascript"; s2.src = "js/ro-crate-dynamic.js"; scripts.append(s2); + dispatchLoad(); +} + +async function dispatchLoad() { dispatchEvent(new Event('load')); }