Skip to content

Commit

Permalink
Fix FileSaver.js for properly work with FF extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Malinin committed Feb 4, 2016
1 parent c3c5293 commit b55b1c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/FileSaver.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,7 @@ var saveAs = saveAs || (function(view) {

return saveAs;
}(
typeof self !== "undefined" && self
|| typeof window !== "undefined" && window
typeof window !== "undefined" && window
|| this.content
));
// `self` is undefined in Firefox for Android content script context
Expand Down

0 comments on commit b55b1c1

Please sign in to comment.