fix: remove left over reference to upload failed variable

This commit is contained in:
Stevan Freeborn committed 2026-09-03 12:15:18 -05:00
1 parent dcbbe04eeb
commit 91de99cde2
1 file changed
+1 -1
+1 -1
View File
@@ -120,7 +120,7 @@ document.addEventListener("DOMContentLoaded", () => {
let failedChunksCount = 0; let failedChunksCount = 0;
async function worker() { async function worker() {
while (pendingIndices.length > 0 && !uploadFailed) { while (pendingIndices.length > 0) {
const index = pendingIndices.shift(); const index = pendingIndices.shift();
const start = index * CHUNK_SIZE; const start = index * CHUNK_SIZE;
const end = Math.min(start + CHUNK_SIZE, file.size); const end = Math.min(start + CHUNK_SIZE, file.size);