Remove usage of jszip
This commit is contained in:
parent
9864439b70
commit
e826b07849
|
@ -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";
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue