mirror of
https://github.com/revoltchat/revite.git
synced 2025-02-13 12:00:18 -05:00
chore: always target blank for download button
This commit is contained in:
parent
7750276554
commit
18243f0207
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue