whoops
This commit is contained in:
parent
fe77f1616c
commit
760cca0e5d
1 changed files with 0 additions and 1 deletions
|
@ -49,7 +49,6 @@ const MszForumEditor = function(form) {
|
||||||
const uploadTask = eepromClient.create(file);
|
const uploadTask = eepromClient.create(file);
|
||||||
|
|
||||||
uploadTask.onProgress(prog => {
|
uploadTask.onProgress(prog => {
|
||||||
const progress = `}%`;
|
|
||||||
uploadElemProgressBarValue.style.width = `${Math.ceil(prog.progress * 100)}%`;
|
uploadElemProgressBarValue.style.width = `${Math.ceil(prog.progress * 100)}%`;
|
||||||
uploadElemProgressText.textContent = `${prog.progress.toLocaleString(undefined, { style: 'percent' })} (${prog.total - prog.loaded} bytes remaining)`;
|
uploadElemProgressText.textContent = `${prog.progress.toLocaleString(undefined, { style: 'percent' })} (${prog.total - prog.loaded} bytes remaining)`;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue