diff --git a/src/platform/web/dom/download.js b/src/platform/web/dom/download.js index ec934a65..77a7933b 100644 --- a/src/platform/web/dom/download.js +++ b/src/platform/web/dom/download.js @@ -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 = "hidden"; + iframe.className = "hidden downloadSandbox"; container.appendChild(iframe); let detach; await new Promise((resolve, reject) => {