mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
fixed error in file lookup
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user