fix: remove left over reference to upload failed variable
This commit is contained in:
1 parent
dcbbe04eeb
commit
91de99cde2
1 file changed
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user