From ea63ae6e729e7fb2803638e8aa9b437e06932069 Mon Sep 17 00:00:00 2001 From: Nyndow <94800504+Nyndow@users.noreply.github.com> Date: Tue, 24 Feb 2026 12:14:06 +0300 Subject: [PATCH] fixing the pdf downloader in offline mode (#2743) --- src/utils/file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/file.ts b/src/utils/file.ts index 9e19f7b25..d360331e2 100644 --- a/src/utils/file.ts +++ b/src/utils/file.ts @@ -30,7 +30,7 @@ export function downloadWithAnchor(blob: Blob, filename: string) { a.click(); document.body.removeChild(a); - setTimeout(() => URL.revokeObjectURL(url), 500); + setTimeout(() => URL.revokeObjectURL(url), 5000); } export async function downloadFromUrl(url: string, filename: string) {