Skip to content

Commit

Permalink
Fix eligrey#165, Saving multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypercubed committed Nov 19, 2015
1 parent e3485a6 commit 9ee3148
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions FileSaver.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ var saveAs = saveAs || (function(view) {
}
if (can_use_save_link) {
object_url = get_URL().createObjectURL(blob);
save_link.href = object_url;
save_link.download = name;
setTimeout(function() {
save_link.href = object_url;
save_link.download = name;
click(save_link);
dispatch_all();
revoke(object_url);
Expand Down
2 changes: 1 addition & 1 deletion FileSaver.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9ee3148

Please sign in to comment.