diff --git a/public/script.js b/public/script.js index 1b9dfdd..7de38f7 100644 --- a/public/script.js +++ b/public/script.js @@ -149,8 +149,13 @@ let SM = { percent = Math.round(percent); } + let title = 'Uploading'; + if(count > 1) { + title = ' ' + (idx + 1) + ' of ' + count; + } + Swal.update({ - title: 'Uploading...', + title: title + '...', html: `${file.name} - ${percent}%`, }); }