mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-27 20:58:40 +01:00
Made chatinput reset after send.
This commit is contained in:
parent
d5bd6ff038
commit
83f334445b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user