Skip to content

Commit

Permalink
Merge pull request #57 from wenzhixin/patch-1
Browse files Browse the repository at this point in the history
Fix cannot export error.
  • Loading branch information
hhurz committed Jan 13, 2016
2 parents 3062c62 + 0897364 commit 77c7fa9
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 77c7fa9

Please sign in to comment.