Put back clicking on the name to acces the room
This commit is contained in:
parent
3dd83922f1
commit
5d4b03c1f4
1 changed files with 2 additions and 2 deletions
|
@ -153,9 +153,9 @@ module.exports = React.createClass({
|
|||
let nameHTML = emojifyText(name);
|
||||
if (this.props.selected) {
|
||||
name = <span dangerouslySetInnerHTML={nameHTML}></span>;
|
||||
label = <div className={ className }>{ name }</div>;
|
||||
label = <div onClick={this.onClick} className={ className }>{ name }</div>;
|
||||
} else {
|
||||
label = <div className={ className } dangerouslySetInnerHTML={nameHTML}></div>;
|
||||
label = <div onClick={this.onClick} className={ className } dangerouslySetInnerHTML={nameHTML}></div>;
|
||||
}
|
||||
}
|
||||
else if (this.state.hover) {
|
||||
|
|
Loading…
Reference in a new issue