summaryrefslogtreecommitdiff
path: root/scripts/gui/chat.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gui/chat.js')
-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)