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:
parent
00f55758c1
commit
e6d2c4932a
1 changed files with 1 additions and 1 deletions
|
|
@ -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('');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue