Skip to content

Commit

Permalink
Fix cannot export error.
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin committed Jan 13, 2016
1 parent 3062c62 commit 0897364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tableExport.js
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@
if (header.toLowerCase().indexOf("base64,") >= 0)
DownloadLink.href = header + base64encode(data);
else
DownloadLink.href = encodeURIComponent(header + data);
DownloadLink.href = header + encodeURIComponent(data);

document.body.appendChild(DownloadLink);

Expand Down

0 comments on commit 0897364

Please sign in to comment.