missed some s/this.refs.//
parent
a64ad04a0e
commit
1b4c5224fd
|
@ -212,8 +212,8 @@ module.exports = React.createClass({
|
|||
textarea.setSelectionRange(left.length, left.length);
|
||||
}
|
||||
else {
|
||||
this.refs.textarea.value = payload.displayname + ": ";
|
||||
this.refs.textarea.focus();
|
||||
textarea.value = payload.displayname + ": ";
|
||||
textarea.focus();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue