mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 11:15:21 +01:00
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
@ -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…
Reference in New Issue
Block a user