minor syntax change

master
Aevann 2023-02-08 09:32:21 +02:00
parent 81cb280990
commit f9830ec6d0
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ function handleUploadProgress(evt) {
uploadfilelist.classList.remove("d-none")
if (evt.lengthComputable) {
const progressPercent = Math.floor((evt.loaded / evt.total) * 100);
bar.setAttribute('value', progressPercent);
bar.value = progressPercent;
percentIndicator.textContent = progressPercent + '%';
}
}