mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
chore: always target blank for download button
This commit is contained in:
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user