diff --git a/web/map.js b/web/map.js index 57ff6a92..dd46d92e 100644 --- a/web/map.js +++ b/web/map.js @@ -215,7 +215,7 @@ DynMap.prototype = { .keydown(function(event) { if (event.keyCode == '13') { event.preventDefault(); - alert(this.value); + sendChat(this.value); } }) .appendTo(chat);