Use latest Lufi API
This commit is contained in:
parent
ba41154a76
commit
5637be6975
|
@ -75,7 +75,7 @@ const startDownload = () => {
|
|||
const pbd = document.getElementById("pbd");
|
||||
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(
|
||||
job.lufiFile.name
|
||||
|
@ -102,7 +102,7 @@ const startDownload = () => {
|
|||
pbd.innerHTML = htmlContent;
|
||||
|
||||
if (isZip) {
|
||||
showZipContent(job.tmpFile);
|
||||
showZipContent(job.downloadedFile);
|
||||
}
|
||||
|
||||
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
Loading…
Reference in New Issue