removed an event listener which was doubeld and a submitbutton call

This commit is contained in:
2025-12-09 15:12:32 +01:00
parent 70d3bfa201
commit 34a8b186a8
+1 -13
View File
@@ -55,28 +55,16 @@ language_option.addEventListener('change', (e)=>{
});
//listener for the file explorer search when something got selected
videoUpload.addEventListener("change", () => {
try {
if (videoUpload.files.length > 0) {
const file = videoUpload.files;
handleFiles(file);
}
activateSubmitBtn(currentVideoPath !== null);
} catch (error) {
console.log(error);
}
});
//listener for the file explorer search when something got selected
videoUpload.addEventListener('change', () => {
try {
handleFiles(videoUpload.files);
} catch (error) {
console.log("Error in manualBtn EventListener change");
console.log(error);
}
});
//listener for the file explorer search