Upgraded ui
This commit is contained in:
parent
a4156fed19
commit
e4b2a5956e
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ const handlers = {
|
||||||
|
|
||||||
const percentage = ((i + 1) / state.files.length) * 100;
|
const percentage = ((i + 1) / state.files.length) * 100;
|
||||||
progressBar.style.width = `${percentage}%`;
|
progressBar.style.width = `${percentage}%`;
|
||||||
statusText.textContent = i + 1;
|
statusText.textContent = `${i + 1}/${state.files.length}`;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Upload error:', error);
|
console.error('Upload error:', error);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue