Skip to content

Commit c0f44b7

Browse files
authored
Merge pull request kennethjiang#20 from rmiller-fc/issue16
Issue kennethjiang#16: Fixing tempLink.style attribute
2 parents 6387305 + 7b6293e commit c0f44b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

file-download.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = function(data, filename, mime) {
1010
else {
1111
var blobURL = window.URL.createObjectURL(blob);
1212
var tempLink = document.createElement('a');
13-
tempLink.style = "display: none";
13+
tempLink.style.display = 'none';
1414
tempLink.href = blobURL;
1515
tempLink.setAttribute('download', filename);
1616
tempLink.setAttribute('target', '_blank');

0 commit comments

Comments
 (0)