no need for a dedicated class just to hide it

This commit is contained in:
Bruno Windels 2020-11-13 16:00:32 +01:00
parent 9bb521986b
commit 14b3c4b701
2 changed files with 1 additions and 5 deletions

View file

@ -20,7 +20,7 @@ export async function downloadInIframe(container, iframeSrc, blob, filename) {
iframe = document.createElement("iframe");
iframe.setAttribute("sandbox", "allow-scripts allow-downloads allow-downloads-without-user-activation");
iframe.setAttribute("src", iframeSrc);
iframe.className = "downloadSandbox";
iframe.className = "hidden";
container.appendChild(iframe);
let detach;
await new Promise((resolve, reject) => {

View file

@ -49,7 +49,3 @@ body.hydrogen {
input::-ms-clear {
display: none;
}
.hydrogen > iframe.downloadSandbox {
display: none;
}