1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-25 18:52:20 -05:00

Fix typing notification when pressing ctrl or alt

This commit is contained in:
Lance Stout 2013-10-11 21:20:18 -07:00
parent 5e0ffdb154
commit 5a9bee42d5
2 changed files with 2 additions and 2 deletions

View File

@ -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({

View File

@ -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({