chore: always target blank for download button

This commit is contained in:
Paul Makles 2025-01-29 13:41:54 +00:00
parent 7750276554
commit 18243f0207
No known key found for this signature in database

View file

@ -49,10 +49,11 @@ export default function AttachmentActions({ attachment }: Props) {
</IconButton> </IconButton>
</a> </a>
<a <a
target="_blank"
href={download_url} href={download_url}
className={styles.downloadIcon} className={styles.downloadIcon}
download download
target={isFirefox || window.native ? "_blank" : "_self"} // target={isFirefox || window.native ? "_blank" : "_self"}
rel="noreferrer"> rel="noreferrer">
<IconButton> <IconButton>
<Download size={24} /> <Download size={24} />