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 d7f4ac0 commit bb20087
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions previewers/betatest/js/rocrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ function writeContentAndData(data, fileUrl, file, title, authors) {
var s2 = document.createElement("script");
s2.type = "text/javascript";
s2.src = "js/ro-crate-dynamic.js";
s2.text = `load();`;
scripts.append(s2);
var s3 = document.createElement("script");
s3.type = "text/javascript";
s3.text = `dispatchEvent(new Event('load'));`;
scripts.append(s3);
}

0 comments on commit bb20087

Please sign in to comment.