diff --git a/web/map.js b/web/map.js index 6671b4fc..4f1b2a1b 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('');