Fix download error showing in console (#12)
Fix error showing in safari/chrome console when download link is clicked
This commit is contained in:
1 parent
087658cddf
commit
8ef67efd83
3 files changed
+9
-3
No files matched your search
@@ -131,7 +131,9 @@ function renderTable(
|
||||
);
|
||||
|
||||
if (downloadUrl)
|
||||
footerElements.push(m("a.download-csv", { href: downloadUrl }, "Download"));
|
||||
footerElements.push(
|
||||
m("a.download-csv", { href: downloadUrl, download: "" }, "Download")
|
||||
);
|
||||
|
||||
let tfoot = m(
|
||||
"tfoot",
|
||||
|
||||
Reference in new issue
Block a user