Remove usage of jszip

This commit is contained in:
Booteille 2024-11-13 19:33:40 +01:00
parent 9864439b70
commit e826b07849
No known key found for this signature in database
GPG Key ID: 0AB6C6CA01272646
1 changed files with 4 additions and 5 deletions

View File

@ -191,6 +191,9 @@ const showZipContent = (zipFile) => {
const showZipContentDOM = document.getElementById("showZipContent");
const showZipContentDOMListener = () => {
showZipContentDOM.onclick = () => {};
document.body.style.cursor = "wait";
lufi.decompress(zipFile).andThen((files) => {
const newElement = document.createElement("div");
@ -231,11 +234,7 @@ const showZipContent = (zipFile) => {
element.addEventListener("click", elementListener);
showZipContentDOM.style.display = "none";
showZipContentDOM.removeEventListener(
"click",
showZipContentDOMListener
);
document.body.style.cursor = "auto";
});
});
};