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
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b9dc759449
Коммит
816a738d28
@@ -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;
|
||||
|
||||
Ссылка в новой задаче
Block a user