mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
formatting
This commit is contained in:
@@ -32,8 +32,8 @@ $(document).ready(function() {
|
|||||||
$('.percent-number').html(`${Math.floor(percent * 100)}`);
|
$('.percent-number').html(`${Math.floor(percent * 100)}`);
|
||||||
if (progress[1] < 1000000) {
|
if (progress[1] < 1000000) {
|
||||||
$('.progress-text').html(
|
$('.progress-text').html(
|
||||||
`${filename} (${(progress[0] / 1000).toFixed(1)}KB of ${(progress[1] /
|
`${filename} (${(progress[0] / 1000).toFixed(1)}KB of
|
||||||
1000).toFixed(1)}KB)`
|
${(progress[1] / 1000).toFixed(1)}KB)`
|
||||||
);
|
);
|
||||||
} else if (progress[1] < 1000000000) {
|
} else if (progress[1] < 1000000000) {
|
||||||
$('.progress-text').html(
|
$('.progress-text').html(
|
||||||
|
|||||||
Reference in New Issue
Block a user