formatting

This commit is contained in:
Abhinav Adduri 2017-07-17 16:22:43 -07:00
parent 26b228a976
commit 93d2e91afa
1 changed files with 2 additions and 2 deletions

View File

@ -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(