From 91de99cde24c017afc6554b9a7dc9eab1bcca2bf Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Thu, 3 Sep 2026 12:15:18 -0500 Subject: [PATCH] fix: remove left over reference to upload failed variable --- src/wwwroot/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wwwroot/index.js b/src/wwwroot/index.js index da12b4b..17638a7 100644 --- a/src/wwwroot/index.js +++ b/src/wwwroot/index.js @@ -120,7 +120,7 @@ document.addEventListener("DOMContentLoaded", () => { let failedChunksCount = 0; async function worker() { - while (pendingIndices.length > 0 && !uploadFailed) { + while (pendingIndices.length > 0) { const index = pendingIndices.shift(); const start = index * CHUNK_SIZE; const end = Math.min(start + CHUNK_SIZE, file.size);