Put back clicking on the name to acces the room

This commit is contained in:
wmwragg 2016-07-22 11:28:11 +01:00
parent 3dd83922f1
commit 5d4b03c1f4

View file

@ -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) {