Turned the links to buttons to comply with MDN's recommendations

This commit is contained in:
Jani Mustonen 2017-01-06 16:41:35 +02:00
parent ad072cc179
commit 8d79716421
6 changed files with 19 additions and 19 deletions

View file

@ -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;