diff --git a/clientapp/pages/chat.js b/clientapp/pages/chat.js index 160e2d4..d70833f 100644 --- a/clientapp/pages/chat.js +++ b/clientapp/pages/chat.js @@ -109,7 +109,7 @@ module.exports = BasePage.extend(chatHelpers).extend({ this.$chatInput.removeClass('editing'); e.preventDefault(); return false; - } else if (!e.ctrlKey) { + } else if (!e.ctrlKey && !e.metaKey) { if (!this.typing) { this.typing = true; client.sendMessage({ diff --git a/clientapp/pages/groupchat.js b/clientapp/pages/groupchat.js index 03c486e..5b9c5a5 100644 --- a/clientapp/pages/groupchat.js +++ b/clientapp/pages/groupchat.js @@ -67,7 +67,7 @@ module.exports = BasePage.extend({ this.$chatInput.removeClass('editing'); e.preventDefault(); return false; - } else if (!e.ctrlKey) { + } else if (!e.ctrlKey && !e.metaKey) { if (!this.typing) { this.typing = true; client.sendMessage({