Change for the inner nerd in me.

This commit is contained in:
FrozenCow 2011-02-24 00:06:36 +01:00
parent da4c456254
commit 20e954b905

View File

@ -208,7 +208,7 @@ DynMap.prototype = {
value: '' value: ''
}) })
.keydown(function(event) { .keydown(function(event) {
if (event.keyCode == '13') { if (event.keyCode === 13) {
event.preventDefault(); event.preventDefault();
sendChat(chatinput.val()); sendChat(chatinput.val());
chatinput.val(''); chatinput.val('');