Upgraded ui
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user