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:
parent
5e0ffdb154
commit
5a9bee42d5
@ -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({
|
||||
|
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user