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
Этот коммит содержится в:
Harrison Healey
2016-10-04 14:38:19 -04:00
коммит произвёл GitHub
родитель b9dc759449
Коммит 816a738d28
10 изменённых файлов: 20 добавлений и 12 удалений

Просмотреть файл

@@ -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;