diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-10-04 14:38:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-04 14:38:19 -0400 |
commit | 816a738d28bd475a445963b95eb854614a12a032 (patch) | |
tree | 7ac4072699692ada4807f45c760d8089c252c0a6 /webapp/components/create_post.jsx | |
parent | b9dc759449f11e0352f97164360cc400fbc112d8 (diff) | |
download | chat-816a738d28bd475a445963b95eb854614a12a032.tar.gz chat-816a738d28bd475a445963b95eb854614a12a032.tar.bz2 chat-816a738d28bd475a445963b95eb854614a12a032.zip |
PLT-4343 Fixes for mobile main menu (#4148)
* Fixed mobile app link in the main menu to be displayed on mobile browsers
* Fixed doubled up dividers in mobile menu
* Added scrolling to mobile main menu
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 d3417e419..232edaa0c 100644 --- a/webapp/components/create_post.jsx +++ b/webapp/components/create_post.jsx @@ -199,7 +199,7 @@ export default class CreatePost extends React.Component { } postMsgKeyPress(e) { - if (!UserAgent.isMobileApp() && ((this.state.ctrlSend && e.ctrlKey) || !this.state.ctrlSend)) { + if (!UserAgent.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(); |