fix up Start Chat behaviour as per Amandine's feedback
This commit is contained in:
parent
35c141cda9
commit
deca90d0a7
5 changed files with 23 additions and 12 deletions
|
@ -43,14 +43,6 @@ module.exports = React.createClass({
|
|||
onCancelClick: React.PropTypes.func,
|
||||
},
|
||||
|
||||
componentDidMount: function() {
|
||||
// XXX: dirty hack to gutwrench to focus on the invite box
|
||||
if (this.props.room.getJoinedMembers().length == 1) {
|
||||
var inviteBox = document.getElementById("mx_MemberList_invite");
|
||||
if (inviteBox) setTimeout(function() { inviteBox.focus(); }, 0);
|
||||
}
|
||||
},
|
||||
|
||||
getInitialState: function() {
|
||||
// work out the initial color index
|
||||
var room_color_index = undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue