From 9270e7f8e94f2ea3279980d5b7076e37f86df235 Mon Sep 17 00:00:00 2001 From: Max Nuding Date: Sat, 27 Nov 2021 13:08:28 +0100 Subject: [PATCH] Fixed missing error for file type validation --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index e6a8243..8eddece 100644 --- a/index.php +++ b/index.php @@ -316,6 +316,7 @@ if (!isset($_POST['submit'])) { } if (!fileList.length) { submitButton.disabled = true; + errorDiv.style.display = 'block'; errorDiv.innerHTML += 'Keine gültigen Bilder oder Videos gefunden'; } });