fixed error in file lookup

This commit is contained in:
2025-12-09 15:01:16 +01:00
parent 5661f7c13f
commit 70d3bfa201
+2 -2
View File
@@ -58,8 +58,8 @@ language_option.addEventListener('change', (e)=>{
videoUpload.addEventListener("change", () => { videoUpload.addEventListener("change", () => {
try { try {
if (videoUpload.files.length > 0) { if (videoUpload.files.length > 0) {
const file = videoUpload.files[0]; const file = videoUpload.files;
handleFiles([file]); handleFiles(file);
} }
activateSubmitBtn(currentVideoPath !== null); activateSubmitBtn(currentVideoPath !== null);
} catch (error) { } catch (error) {