diff --git a/src/wwwroot/index.js b/src/wwwroot/index.js index 46b3611..1ca26a6 100644 --- a/src/wwwroot/index.js +++ b/src/wwwroot/index.js @@ -22,7 +22,9 @@ document.addEventListener("DOMContentLoaded", () => { !fileInputElement || !chunksDisplayElement || !fileIdElement || - !fileStatusElement + !fileStatusElement || + !fileDownloadElement || + !downloadLinkElement ) { throw new Error("Required DOM elements missing."); }