missed some s/this.refs.//

pull/21833/head
Matthew Hodgson 2016-03-17 16:52:12 +00:00
parent a64ad04a0e
commit 1b4c5224fd
1 changed files with 2 additions and 2 deletions

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