From 68232ed0038731dccb4e4886330b3f5da1632dd1 Mon Sep 17 00:00:00 2001 From: Roland Bouman Date: Tue, 16 Apr 2024 01:39:27 +0200 Subject: [PATCH] Fix typo --- src/ExportUi/ExportUi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ExportUi/ExportUi.js b/src/ExportUi/ExportUi.js index b1c46e8..f1f05fc 100644 --- a/src/ExportUi/ExportUi.js +++ b/src/ExportUi/ExportUi.js @@ -10,10 +10,10 @@ function downloadBlob(data, fileName, mimeType) { }, 1000); }; -function downloadURL(data, fileName) { +function downloadURL(url, fileName) { var a; a = document.createElement('a'); - a.href = data; + a.href = url; a.download = fileName; document.body.appendChild(a); a.style = 'display: none';