From 1b4c5224fd2b45a8fd61130cf4d3b3c7fe1d3c14 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 17 Mar 2016 16:52:12 +0000 Subject: [PATCH] missed some s/this.refs.// --- src/components/views/rooms/MessageComposer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/rooms/MessageComposer.js b/src/components/views/rooms/MessageComposer.js index 53253376c9..059cafd311 100644 --- a/src/components/views/rooms/MessageComposer.js +++ b/src/components/views/rooms/MessageComposer.js @@ -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; }