From 306739bdcdf6ba9d876f0e5391bec4195c41b726 Mon Sep 17 00:00:00 2001 From: Jonathan Kingston Date: Thu, 31 Oct 2024 12:51:43 +0000 Subject: [PATCH] Fix dataset name for download --- features/download/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/download/index.html b/features/download/index.html index 0a31705..0457f17 100644 --- a/features/download/index.html +++ b/features/download/index.html @@ -19,7 +19,7 @@

Download via iframe

@@ -35,9 +35,9 @@ const iframe = document.createElement('iframe'); iframe.style.display = 'none'; iframe.src = `./file/${link.dataset.type}`; - if (link.dataset.suggestedFilename) { + if (link.dataset.suggestedfilename) { const params = new URLSearchParams({ - suggestedFilename: link.dataset.suggestedFilename + suggestedFilename: link.dataset.suggestedfilename }); iframe.src += '?' + params.toString() }