diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2021-10-15 21:06:42 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2021-10-15 21:06:42 -0400 |
commit | 3e436862d0f0c7746875cee73d7a38e5c10813a5 (patch) | |
tree | 8716111d4f21cb62c52d5eacdc94a39b441dd692 /scripts/gui/chat.js | |
parent | 9d76666f1fa3d9342be54b7032c47e327a25ed59 (diff) |
[Chat] Hotfix for Send button
Diffstat (limited to 'scripts/gui/chat.js')
-rw-r--r-- | scripts/gui/chat.js | 2 |
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) |