You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Turned the links to buttons to comply with MDN's recommendations
This commit is contained in:
@@ -409,9 +409,9 @@ module.exports = React.createClass({
|
||||
<div className="mx_Dialog_title">
|
||||
{this.props.title}
|
||||
</div>
|
||||
<a tabindex="0" className="mx_ChatInviteDialog_cancel" onClick={this.onCancel} >
|
||||
<button className="mx_ChatInviteDialog_cancel" onClick={this.onCancel} >
|
||||
<TintableSvg src="img/icons-close-button.svg" width="35" height="35" />
|
||||
</a>
|
||||
</button>
|
||||
<div className="mx_ChatInviteDialog_label">
|
||||
<label htmlFor="textinput">{ this.props.description }</label>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user