diff --git a/themes/default/public/js/lufi-down.js b/themes/default/public/js/lufi-down.js index 8a1b7ab..e3cb8a9 100755 --- a/themes/default/public/js/lufi-down.js +++ b/themes/default/public/js/lufi-down.js @@ -187,23 +187,23 @@ const updateProgress = (lufiFile) => { document.getElementById("pbt").innerHTML = `${percent}%`; }; -const showZipContent = (blob) => { +const showZipContent = (zipFile) => { const showZipContentDOM = document.getElementById("showZipContent"); const showZipContentDOMListener = () => { - JSZip.loadAsync(blob).then((zip) => { + lufi.decompress(zipFile).andThen((files) => { const newElement = document.createElement("div"); let innerHTML = `

${i18n.zipContent}