Made chatinput reset after send.

This commit is contained in:
FrozenCow 2011-02-19 21:16:14 +01:00
parent d5bd6ff038
commit 83f334445b

View File

@ -221,7 +221,8 @@ DynMap.prototype = {
.keydown(function(event) {
if (event.keyCode == '13') {
event.preventDefault();
sendChat(this.value);
sendChat(chatinput.val());
chatinput.val('');
}
})
.appendTo(chat);