mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Merge pull request #2848 from matrix-org/travis/electron-save-as
Set title attribute on images in lightbox
This commit is contained in:
commit
b6f0b8324d
@ -173,7 +173,7 @@ module.exports = React.createClass({
|
||||
<div className="mx_ImageView_lhs">
|
||||
</div>
|
||||
<div className="mx_ImageView_content">
|
||||
<img src={this.props.src} style={style} />
|
||||
<img src={this.props.src} title={this.props.name} style={style} />
|
||||
<div className="mx_ImageView_labelWrapper">
|
||||
<div className="mx_ImageView_label">
|
||||
<AccessibleButton className="mx_ImageView_cancel" onClick={ this.props.onFinished }><img src={require("../../../../res/img/cancel-white.svg")} width="18" height="18" alt={ _t('Close') } /></AccessibleButton>
|
||||
|
Loading…
Reference in New Issue
Block a user