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/actions | |
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/actions')
-rw-r--r-- | webapp/actions/channel_actions.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/actions/channel_actions.jsx b/webapp/actions/channel_actions.jsx index c264fcb34..ed8e00db6 100644 --- a/webapp/actions/channel_actions.jsx +++ b/webapp/actions/channel_actions.jsx @@ -30,7 +30,7 @@ export function executeCommand(channelId, message, suggest, success, error) { msg = msg.substring(0, msg.indexOf(' ')).toLowerCase() + msg.substring(msg.indexOf(' '), msg.length); if (message.indexOf('/shortcuts') !== -1) { - if (UserAgent.isMobileApp()) { + if (UserAgent.isMobile()) { const err = {message: Utils.localizeMessage('create_post.shortcutsNotSupported', 'Keyboard shortcuts are not supported on your device')}; error(err); return; |