mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
Revert "Fix downloading files in electron not being sent into browser"
This reverts commit d89b8b5148
.
This commit is contained in:
parent
134ca31b25
commit
846170b371
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ export default class ImageView extends React.Component {
|
|||
{ this.getName() }
|
||||
</div>
|
||||
{ eventMeta }
|
||||
<a className="mx_ImageView_link" href={ this.props.src } download={ this.props.name } rel="noreferrer noopener">
|
||||
<a className="mx_ImageView_link" href={ this.props.src } download={ this.props.name } target="_blank" rel="noopener">
|
||||
<div className="mx_ImageView_download">
|
||||
{ _t('Download this file') }<br />
|
||||
<span className="mx_ImageView_size">{ sizeRes }</span>
|
||||
|
|
Loading…
Reference in a new issue