Reverted back to "== '13'" like flames suggested before. This seemed to raise incompatiblities for Firefox and Safari on Mac, not on Linux.

This commit is contained in:
FrozenCow 2011-02-24 00:38:46 +01:00
parent 00f55758c1
commit e6d2c4932a

View File

@ -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('');