From c5aa1571655ba28ae43eeea85db1e818879f9d68 Mon Sep 17 00:00:00 2001 From: Booteille Date: Fri, 23 May 2025 16:26:47 +0200 Subject: [PATCH] Fix zip name label not hidding properly --- themes/default/public/js/upload.js | 2 +- themes/default/templates/index.html.ep | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/default/public/js/upload.js b/themes/default/public/js/upload.js index 2730419..e223cad 100644 --- a/themes/default/public/js/upload.js +++ b/themes/default/public/js/upload.js @@ -499,7 +499,7 @@ document.addEventListener("DOMContentLoaded", () => { : ""; const zipMultiple = document.getElementById("zip-multiple").checked; - const zipName = document.getElementById("zip-name").value; + const zipName = document.querySelector("#zip-name input").value; const mustZip = providedFiles.length > 1 ? zipMultiple : false; diff --git a/themes/default/templates/index.html.ep b/themes/default/templates/index.html.ep index 5d328d5..4dea140 100644 --- a/themes/default/templates/index.html.ep +++ b/themes/default/templates/index.html.ep @@ -146,9 +146,9 @@
-