Double space issue when clicking a nickname with a space already present in chat
This commit is contained in:
parent
aa6581fb85
commit
eb7d021449
@ -416,7 +416,7 @@ window.chat.renderMsg = function(msg, nick, time, team, msgToPlayer, systemNarro
|
||||
|
||||
window.chat.addNickname= function(nick){
|
||||
var c = document.getElementById("chattext");
|
||||
c.value = [c.value, nick, " "].join(" ").trim() + " ";
|
||||
c.value = [c.value.trim(), nick].join(" ").trim() + " ";
|
||||
c.focus()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user