From 20e954b9054e302f841668e81fd8eeee163c3fbd Mon Sep 17 00:00:00 2001 From: FrozenCow Date: Thu, 24 Feb 2011 00:06:36 +0100 Subject: [PATCH] Change for the inner nerd in me. --- web/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('');