diff options
Diffstat (limited to 'scripts')
-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) |