Skip to content

Commit

Permalink
revert to window.onload()
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Oct 5, 2023
1 parent adc605a commit af36cb6
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 = `setTimeout(function(){ onload(); }, 5000);`;
s2.text = "window.onload()";
scripts.append(s2);
}

0 comments on commit af36cb6

Please sign in to comment.