diff options
Diffstat (limited to 'webapp/components/textbox.jsx')
-rw-r--r-- | webapp/components/textbox.jsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webapp/components/textbox.jsx b/webapp/components/textbox.jsx index f1f6d2a0a..7f3dc1891 100644 --- a/webapp/components/textbox.jsx +++ b/webapp/components/textbox.jsx @@ -32,7 +32,8 @@ export default class Textbox extends React.Component { onBlur: React.PropTypes.func, supportsCommands: React.PropTypes.bool.isRequired, handlePostError: React.PropTypes.func, - suggestionListStyle: React.PropTypes.string + suggestionListStyle: React.PropTypes.string, + emojiEnabled: React.PropTypes.bool }; static defaultProps = { @@ -249,7 +250,7 @@ export default class Textbox extends React.Component { <SuggestionBox id={this.props.id} ref='message' - className={`form-control custom-textarea ${this.state.connection}`} + className={`form-control custom-textarea${this.props.emojiEnabled ? '-emoji' : ''} ${this.state.connection}`} type='textarea' spellCheck='true' placeholder={this.props.createMessage} |