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
71516cc7e9
commit
344c95e9b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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('');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue