summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-10-15 21:06:42 -0400
committerKyle Gunger <kgunger12@gmail.com>2021-10-15 21:06:42 -0400
commit3e436862d0f0c7746875cee73d7a38e5c10813a5 (patch)
tree8716111d4f21cb62c52d5eacdc94a39b441dd692
parent9d76666f1fa3d9342be54b7032c47e327a25ed59 (diff)
[Chat] Hotfix for Send button
-rw-r--r--scripts/gui/chat.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gui/chat.js b/scripts/gui/chat.js
index 8a5db9f..dda541e 100644
--- a/scripts/gui/chat.js
+++ b/scripts/gui/chat.js
@@ -11,7 +11,7 @@ class Chat {
this.chatInput = cin.children[0];
cin.children[0].addEventListener("keydown", this.checkEnter.bind(this));
- cin.children[0].addEventListener("click", this.sendMessage.bind(this));
+ cin.children[1].addEventListener("click", this.sendMessage.bind(this));
}
getChannel (name)