diff --git a/web/map.js b/web/map.js index 53d48bf0..6671b4fc 100644 --- a/web/map.js +++ b/web/map.js @@ -208,7 +208,7 @@ DynMap.prototype = { value: '' }) .keydown(function(event) { - if (event.keyCode === '13') { + if (event.keyCode == '13') { event.preventDefault(); sendChat(chatinput.val()); chatinput.val('');