diff options
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/create_comment.jsx | 2 | ||||
-rw-r--r-- | webapp/components/create_post.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/create_comment.jsx b/webapp/components/create_comment.jsx index d6744e9fb..2b4800bf4 100644 --- a/webapp/components/create_comment.jsx +++ b/webapp/components/create_comment.jsx @@ -168,7 +168,7 @@ export default class CreateComment extends React.Component { } commentMsgKeyPress(e) { - if ((this.state.ctrlSend && e.ctrlKey) || !this.state.ctrlSend) { + if (!Utils.isMobile() && ((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(); diff --git a/webapp/components/create_post.jsx b/webapp/components/create_post.jsx index c0da9ae1d..0c2b8d644 100644 --- a/webapp/components/create_post.jsx +++ b/webapp/components/create_post.jsx @@ -196,7 +196,7 @@ export default class CreatePost extends React.Component { } postMsgKeyPress(e) { - if ((this.state.ctrlSend && e.ctrlKey) || !this.state.ctrlSend) { + if (!Utils.isMobile() && ((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(); |