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:
@@ -28,9 +28,6 @@ export class BrowserFileDownloadService implements FileDownloadService {
|
|||||||
}),
|
}),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
} else {
|
|
||||||
if ((navigator as any).msSaveOrOpenBlob) {
|
|
||||||
(navigator as any).msSaveBlob(builder.blob, request.fileName);
|
|
||||||
} else {
|
} else {
|
||||||
const a = window.document.createElement("a");
|
const a = window.document.createElement("a");
|
||||||
a.href = URL.createObjectURL(builder.blob);
|
a.href = URL.createObjectURL(builder.blob);
|
||||||
@@ -41,4 +38,3 @@ export class BrowserFileDownloadService implements FileDownloadService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user