Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f5022e commit 5f8877fCopy full SHA for 5f8877f
src/snapshot/filesaver.js
@@ -34,7 +34,7 @@ var fileSaver = function(url, name) {
34
// First try a.download, then web filesystem, then object URLs
35
if(isSafari) {
36
// Safari doesn't allow downloading of blob urls
37
- document.location.href = 'data:attachment/file' + url.slice(url.search(/[,;]/));
+ document.location.href = 'data:application/octet-stream' + url.slice(url.search(/[,;]/));
38
resolve(name);
39
}
40
0 commit comments