From 4cb31f699c7e815aecc0fff864503c45f4520cc9 Mon Sep 17 00:00:00 2001 From: Eryk Kulikowski Date: Fri, 29 Sep 2023 17:49:52 +0200 Subject: [PATCH] ro-crate previewer --- previewers/betatest/ROCrate.html | 2 -- previewers/betatest/js/rocrate.js | 1 - 2 files changed, 3 deletions(-) diff --git a/previewers/betatest/ROCrate.html b/previewers/betatest/ROCrate.html index 190df53..1804a0b 100644 --- a/previewers/betatest/ROCrate.html +++ b/previewers/betatest/ROCrate.html @@ -21,8 +21,6 @@ padding-bottom: 300px; } - - diff --git a/previewers/betatest/js/rocrate.js b/previewers/betatest/js/rocrate.js index 9cad63e..eabc666 100644 --- a/previewers/betatest/js/rocrate.js +++ b/previewers/betatest/js/rocrate.js @@ -17,5 +17,4 @@ async function writeContentAndData(data, fileUrl, file, title, authors) { s2.type = "text/javascript"; s2.src = "js/ro-crate-dynamic.js"; document.getElementById("scripts").append(s2); - dispatchEvent(new Event('load')); }