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() }