diff --git a/src/core/worker.js b/src/core/worker.js index d301bf6f9..29aa80cf8 100644 --- a/src/core/worker.js +++ b/src/core/worker.js @@ -275,7 +275,7 @@ class WorkerMessageHandler { if (!fullReader.isStreamingSupported) { handler.send("DocProgress", { loaded, - total: Math.max(loaded, fullReader.contentLength || 0), + total: fullReader.contentLength, }); }