mirror of
https://github.com/moparisthebest/kaiwa
synced 2025-02-17 23:50:16 -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');
|
this.$chatInput.removeClass('editing');
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
} else if (!e.ctrlKey) {
|
} else if (!e.ctrlKey && !e.metaKey) {
|
||||||
if (!this.typing) {
|
if (!this.typing) {
|
||||||
this.typing = true;
|
this.typing = true;
|
||||||
client.sendMessage({
|
client.sendMessage({
|
||||||
|
@ -67,7 +67,7 @@ module.exports = BasePage.extend({
|
|||||||
this.$chatInput.removeClass('editing');
|
this.$chatInput.removeClass('editing');
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
} else if (!e.ctrlKey) {
|
} else if (!e.ctrlKey && !e.metaKey) {
|
||||||
if (!this.typing) {
|
if (!this.typing) {
|
||||||
this.typing = true;
|
this.typing = true;
|
||||||
client.sendMessage({
|
client.sendMessage({
|
||||||
|
Loading…
Reference in New Issue
Block a user