diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-07-15 07:49:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-15 07:49:57 -0400 |
commit | b5c5744bc79d99e75629085ccafedd8f50c41916 (patch) | |
tree | e8ad0b18295445e52c255375dab6c6e390d276a1 /webapp/components/create_post.jsx | |
parent | 491593b285cb92a3896fbd8203d8461be615880e (diff) | |
download | chat-b5c5744bc79d99e75629085ccafedd8f50c41916.tar.gz chat-b5c5744bc79d99e75629085ccafedd8f50c41916.tar.bz2 chat-b5c5744bc79d99e75629085ccafedd8f50c41916.zip |
Updating ESLint (#3597)
Diffstat (limited to 'webapp/components/create_post.jsx')
-rw-r--r-- | webapp/components/create_post.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/create_post.jsx b/webapp/components/create_post.jsx index 508fb36cb..5101c751d 100644 --- a/webapp/components/create_post.jsx +++ b/webapp/components/create_post.jsx @@ -212,7 +212,7 @@ class CreatePost extends React.Component { } postMsgKeyPress(e) { - if (this.state.ctrlSend && e.ctrlKey || !this.state.ctrlSend) { + if ((this.state.ctrlSend && e.ctrlKey) || !this.state.ctrlSend) { if (e.which === KeyCodes.ENTER && !e.shiftKey && !e.altKey) { e.preventDefault(); ReactDOM.findDOMNode(this.refs.textbox).blur(); |