fix onclick for all of room name

pull/21833/head
Matthew Hodgson 2016-01-11 18:44:36 +00:00
parent ddd8838b24
commit bd226609d0
1 changed files with 2 additions and 2 deletions

View File

@ -170,10 +170,10 @@ module.exports = React.createClass({
} }
name = name =
<div className="mx_RoomHeader_name"> <div className="mx_RoomHeader_name" onClick={this.props.onSettingsClick}>
<div className="mx_RoomHeader_nametext" title={ this.props.room.name }>{ this.props.room.name }</div> <div className="mx_RoomHeader_nametext" title={ this.props.room.name }>{ this.props.room.name }</div>
{ searchStatus } { searchStatus }
<div className="mx_RoomHeader_settingsButton" title="Settings" onClick={this.props.onSettingsClick}> <div className="mx_RoomHeader_settingsButton" title="Settings">
<TintableSvg src="img/settings.svg" width="12" height="12"/> <TintableSvg src="img/settings.svg" width="12" height="12"/>
</div> </div>
</div> </div>