Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rpbouman committed Apr 15, 2024
1 parent 6918d8c commit 68232ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ExportUi/ExportUi.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 68232ed

Please sign in to comment.