diff --git a/frontend/app.js b/frontend/app.js index fa00d69..ee8954d 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -319,7 +319,6 @@ async function uploadChunked(next){ // --- DOM refs --- const dz = document.getElementById('dropzone'); const fi = document.getElementById('fileInput'); -const foi = document.getElementById('folderInput'); const btnMobilePick = document.getElementById('btnMobilePick'); const btnClearFinished = document.getElementById('btnClearFinished'); const btnClearAll = document.getElementById('btnClearAll'); @@ -442,9 +441,6 @@ fi.addEventListener('click', (e) => { // prevent bubbling to parents (extra safety) e.stopPropagation(); }); -if (foi) { - foi.addEventListener('click', (e) => { e.stopPropagation(); }); -} const onFilesSelected = (inputEl) => { if (!inputEl) return; @@ -461,7 +457,6 @@ const onFilesSelected = (inputEl) => { }; fi.onchange = () => onFilesSelected(fi); -if (foi) foi.onchange = () => onFilesSelected(foi); // If you want the whole dropzone clickable on desktop only, enable this: if (!isTouch) { diff --git a/frontend/index.html b/frontend/index.html index 09d0b9d..a69ddb3 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -37,26 +37,15 @@
- -