We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 06614ba + dfacbef commit 7e09d9dCopy full SHA for 7e09d9d
portal-frontend/src/app/shared/utils/file.ts
@@ -36,7 +36,7 @@ export const downloadFile = (url: string, fileName: string) => {
36
const downloadLink = document.createElement('a');
37
downloadLink.href = url;
38
downloadLink.download = fileName;
39
- downloadLink.target = '_blank';
+
40
if (window.webkitURL == null) {
41
downloadLink.onclick = (event: MouseEvent) => document.body.removeChild(<Node>event.target);
42
downloadLink.style.display = 'none';
0 commit comments