code/static: fix accidental duplication code of nickname button handler

master
ALI Hamza 2019-09-25 20:23:48 +07:00
parent 29984886c4
commit ff104cd6af
No known key found for this signature in database
GPG Key ID: BCA8A46C87798C4C
1 changed files with 1 additions and 1 deletions

@ -138,7 +138,7 @@ chatI.onkeydown = function(ev) {
ws.send(chatI.value);
chatI.value = "";
}
nickB.onclick = function() {
chatB.onclick = function() {
if(chatI.value.trim().length == 0) return;
ws.send(chatI.value);