Skip to content

Commit

Permalink
ro-crate previewer
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Sep 29, 2023
1 parent c02f01f commit 4a36ecf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions previewers/betatest/js/rocrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
}

0 comments on commit 4a36ecf

Please sign in to comment.