summaryrefslogtreecommitdiffstats
path: root/webapp/actions/channel_actions.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/actions/channel_actions.jsx')
-rw-r--r--webapp/actions/channel_actions.jsx8
1 files changed, 3 insertions, 5 deletions
diff --git a/webapp/actions/channel_actions.jsx b/webapp/actions/channel_actions.jsx
index 78df1ff17..1df0d12f5 100644
--- a/webapp/actions/channel_actions.jsx
+++ b/webapp/actions/channel_actions.jsx
@@ -66,12 +66,10 @@ export function executeCommand(message, args, success, error) {
const err = {message: Utils.localizeMessage('create_post.shortcutsNotSupported', 'Keyboard shortcuts are not supported on your device')};
error(err);
return;
- } else if (Utils.isMac()) {
- msg += ' mac';
- } else if (message.indexOf('mac') !== -1) {
- msg = '/shortcuts';
}
- break;
+
+ GlobalActions.showShortcutsModal();
+ return;
case '/leave': {
// /leave command not supported in reply threads.
if (args.channel_id && (args.root_id || args.parent_id)) {