Skip to content

Commit 0f9220c

Browse files
authored
Merge pull request #5609 from KPMP/fix-safari-download
Fix Safari Download
2 parents 990e260 + 76f1535 commit 0f9220c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Diff for: src/snapshot/filesaver.js

-7
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ function fileSaver(url, name, format) {
2323
var blob;
2424
var objectUrl;
2525

26-
// Safari doesn't allow downloading of blob urls
27-
if(Lib.isSafari()) {
28-
var prefix = format === 'svg' ? ',' : ';base64,';
29-
helpers.octetStream(prefix + encodeURIComponent(url));
30-
return resolve(name);
31-
}
32-
3326
// IE 10+ (native saveAs)
3427
if(Lib.isIE()) {
3528
// At this point we are only dealing with a decoded SVG as

0 commit comments

Comments
 (0)