Turned the links to buttons to comply with MDN's recommendations
This commit is contained in:
parent
ad072cc179
commit
8d79716421
6 changed files with 19 additions and 19 deletions
|
@ -44,7 +44,7 @@ module.exports = React.createClass({
|
|||
|
||||
var cancelButton;
|
||||
if (this.props.onCancelClick) {
|
||||
cancelButton = <a tabindex="0" className="mx_RoomHeader_cancelButton" onClick={this.props.onCancelClick}><img src="img/cancel.svg" width="18" height="18" alt="Cancel"/> </a>
|
||||
cancelButton = <button className="mx_RoomHeader_cancelButton" onClick={this.props.onCancelClick}><img src="img/cancel.svg" width="18" height="18" alt="Cancel"/> </button>
|
||||
}
|
||||
|
||||
var showRhsButton;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue