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", () => {
try {
if (videoUpload.files.length > 0) {
const file = videoUpload.files[0];
handleFiles([file]);
const file = videoUpload.files;
handleFiles(file);
}
activateSubmitBtn(currentVideoPath !== null);
} catch (error) {