This commit is contained in:
biglyderv 2024-09-21 10:23:29 -04:00
parent 491db52614
commit 301eca08ea
No known key found for this signature in database
GPG key ID: 33AC87E9ACE66954

View file

@ -5,7 +5,9 @@ async function formClick(ev) {
let fData = new FormData(target);
target.querySelector('input[type=file]').value = null;
let file = target.querySelector('input[type=file]');
if (file)
file.value = null;
let fetched = await fetch(target.action, {
'method': 'POST',