missed some s/this.refs.//

This commit is contained in:
Matthew Hodgson 2016-03-17 16:52:12 +00:00
parent a64ad04a0e
commit 1b4c5224fd

View file

@ -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;
}