Fixes here and there

This commit is contained in:
Michał Gdula 2022-09-10 08:37:01 +00:00
parent eeb79ec53c
commit 951871b983
5 changed files with 10 additions and 3 deletions

View file

@ -21,7 +21,7 @@
// Get ALT
var alt = $("#alt").val();
formData.append("alt", alt);
// Get ALT
// Get TAGS
var tags = $("#tags").val();
formData.append("tags", tags);
// Submit data
@ -43,6 +43,7 @@
// Empty values
$("#image").val("");
$("#alt").val("");
$("#tags").val("");
$("#submit").val("");
} else {
sniffleAdd('Gwha!', 'Pls provide image', 'var(--red)', 'assets/icons/file-search.svg');