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';