Vide la liste de fichiers une fois uploadée

This commit is contained in:
Breizh 2021-06-06 15:11:52 +02:00
parent a0ad9a6814
commit 99f9b3273b

View file

@ -53,4 +53,7 @@ form.addEventListener('submit', e => {
for (let i = 0; i < files.length; i++) { for (let i = 0; i < files.length; i++) {
upload(files[i],exp,maxdl); upload(files[i],exp,maxdl);
} }
// reset file list
document.getElementById('fileinput').value='';
}); });