1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

SG-852 Removed msSaveOrOpenBlob (#4379)

This commit is contained in:
Carlos Gonçalves
2023-01-13 15:40:47 +00:00
committed by GitHub
parent 8121894b44
commit 6bb55c7320

View File

@@ -28,9 +28,6 @@ export class BrowserFileDownloadService implements FileDownloadService {
}),
true
);
} else {
if ((navigator as any).msSaveOrOpenBlob) {
(navigator as any).msSaveBlob(builder.blob, request.fileName);
} else {
const a = window.document.createElement("a");
a.href = URL.createObjectURL(builder.blob);
@@ -41,4 +38,3 @@ export class BrowserFileDownloadService implements FileDownloadService {
}
}
}
}