This commit is contained in:
flash 2024-02-02 21:53:36 +00:00
parent fe77f1616c
commit 760cca0e5d

View file

@ -49,7 +49,6 @@ const MszForumEditor = function(form) {
const uploadTask = eepromClient.create(file);
uploadTask.onProgress(prog => {
const progress = `}%`;
uploadElemProgressBarValue.style.width = `${Math.ceil(prog.progress * 100)}%`;
uploadElemProgressText.textContent = `${prog.progress.toLocaleString(undefined, { style: 'percent' })} (${prog.total - prog.loaded} bytes remaining)`;
});