diff --git a/public/script.js b/public/script.js index 2fd1158..57bc99c 100644 --- a/public/script.js +++ b/public/script.js @@ -135,7 +135,7 @@ let SM = { let percent = (progressEvent.loaded / progressEvent.total) * 100; Swal.update({ title: 'Uploading...', - html: `${file.name} - ${percent.toFixed(2)}%`, + html: `${file.name} - ${Math.round(percent)}%`, }); } }).then((response) => {