Fixed missing error for file type validation

This commit is contained in:
Max Nuding 2021-11-27 13:08:28 +01:00
parent 1ec2be5925
commit 9270e7f8e9
Signed by: phlaym
GPG Key ID: A06651BAB6777237

View File

@ -316,6 +316,7 @@ if (!isset($_POST['submit'])) {
} }
if (!fileList.length) { if (!fileList.length) {
submitButton.disabled = true; submitButton.disabled = true;
errorDiv.style.display = 'block';
errorDiv.innerHTML += 'Keine gültigen Bilder oder Videos gefunden'; errorDiv.innerHTML += 'Keine gültigen Bilder oder Videos gefunden';
} }
}); });