Permalink
Browse files

Fix MessageComposerInput.setLastTextEntry

  • Loading branch information...
aviraldg committed Jun 9, 2016
1 parent 29cdd1f commit 4e0720db12ee7170ada7a8f63848683015a3012c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/components/views/rooms/MessageComposerInput.js
@@ -150,7 +150,7 @@ export default class MessageComposerInput extends React.Component {
console.error(contentHTML);
if (contentHTML) {
const content = HTMLtoContentState(contentHTML);
component.setState({editorState: EditorState.createWithContent(content, getScopedDecorator(this.props))});
component.setState({editorState: EditorState.createWithContent(content, getScopedDecorator(component.props))});
component.resizeInput();
}
}

0 comments on commit 4e0720d

Please sign in to comment.