From c3f681f3a0265dfac3c4aaaea05f6321d1e75fe3 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Tue, 1 Sep 2026 13:39:05 -0500 Subject: [PATCH] fix: add elements to missing dom elements check --- src/wwwroot/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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."); }