Use latest Lufi API

This commit is contained in:
Booteille 2024-11-15 01:21:57 +01:00
parent ba41154a76
commit 5637be6975
No known key found for this signature in database
GPG Key ID: 0AB6C6CA01272646
5 changed files with 6 additions and 6 deletions

View File

@ -75,7 +75,7 @@ const startDownload = () => {
const pbd = document.getElementById("pbd"); const pbd = document.getElementById("pbd");
pbd.className = "center-align"; pbd.className = "center-align";
const blobURL = URL.createObjectURL(job.tmpFile); const blobURL = URL.createObjectURL(job.downloadedFile);
let htmlContent = `<p><a href="${blobURL}" class="btn btn-primary" download="${escapeHtml( let htmlContent = `<p><a href="${blobURL}" class="btn btn-primary" download="${escapeHtml(
job.lufiFile.name job.lufiFile.name
@ -102,7 +102,7 @@ const startDownload = () => {
pbd.innerHTML = htmlContent; pbd.innerHTML = htmlContent;
if (isZip) { if (isZip) {
showZipContent(job.tmpFile); showZipContent(job.downloadedFile);
} }
document.getElementById("abort").remove(); document.getElementById("abort").remove();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long