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", () => {
|
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user