Implemented the function for the download button.

This commit is contained in:
2025-12-15 17:21:02 +01:00
parent aee1428cb6
commit bac6e2b7f0
3 changed files with 13 additions and 7 deletions
+7 -1
View File
@@ -105,7 +105,6 @@ function changeLanguage(language) {
function handleFiles(files) {
try {
if (files.length > 0) {
document.getElementById("progressbar").style.visibility = "visible";
const file = files[0];
if (file.type.startsWith('video/')) {
const filePath = window.explorer.onFileDrop(files[0])
@@ -330,3 +329,10 @@ function sendSpeakerPackages(){
}
}
function fileDownload(){
try {
window.file_download.fileDownload();
} catch (error) {
}
}