Skip to content

Commit

Permalink
window.onload -> onload
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Oct 5, 2023
1 parent 9736acc commit 572f38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion previewers/betatest/js/rocrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ function writeContentAndData(data, fileUrl, file, title, authors) {
var s2 = document.createElement("script");
s2.type = "text/javascript";
s2.src = "https://unpkg.com/ro-crate-html-js/dist/ro-crate-dynamic.js";
s2.text = "window.onload();";
s2.text = "onload();";
scripts.append(s2);
}

0 comments on commit 572f38f

Please sign in to comment.