Merge pull request #3640 from t3chguy/t3chguy/lightbox_download_button
fix ImageView Download functionality
This commit is contained in:
commit
523b315985
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ module.exports = React.createClass({
|
||||||
{ this.getName() }
|
{ this.getName() }
|
||||||
</div>
|
</div>
|
||||||
{ eventMeta }
|
{ eventMeta }
|
||||||
<a className="mx_ImageView_link" href={ this.props.src } target="_blank" rel="noopener">
|
<a className="mx_ImageView_link" href={ this.props.src } download={ this.props.name } target="_blank" rel="noopener">
|
||||||
<div className="mx_ImageView_download">
|
<div className="mx_ImageView_download">
|
||||||
Download this file<br/>
|
Download this file<br/>
|
||||||
<span className="mx_ImageView_size">{ size_res }</span>
|
<span className="mx_ImageView_size">{ size_res }</span>
|
||||||
|
|
Loading…
Reference in a new issue