From b49c39b895890d8277f0cc70106dc9db9c3b111a Mon Sep 17 00:00:00 2001 From: ClemDee Date: Fri, 19 Jul 2019 11:34:30 +0200 Subject: [PATCH] Fix file progress value going over 100% --- www/common/outer/upload.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/outer/upload.js b/www/common/outer/upload.js index cd0f9b134..9cb19f18b 100644 --- a/www/common/outer/upload.js +++ b/www/common/outer/upload.js @@ -65,6 +65,7 @@ define([ if (box) { actual += box.length; var progressValue = (actual / estimate * 100); + progressValue = Math.min(progressValue, 100); updateProgress(progressValue); return void sendChunk(box, function (e) {