forked from abner/for-legacy-web
chore: always target blank for download button
parent
7750276554
commit
18243f0207
|
|
@ -49,10 +49,11 @@ export default function AttachmentActions({ attachment }: Props) {
|
|||
</IconButton>
|
||||
</a>
|
||||
<a
|
||||
target="_blank"
|
||||
href={download_url}
|
||||
className={styles.downloadIcon}
|
||||
download
|
||||
target={isFirefox || window.native ? "_blank" : "_self"}
|
||||
// target={isFirefox || window.native ? "_blank" : "_self"}
|
||||
rel="noreferrer">
|
||||
<IconButton>
|
||||
<Download size={24} />
|
||||
|
|
|
|||
Loading…
Reference in New Issue