[ci skip] Don't send connection form when enter is pressed on the host autocompleter (#2225)
This commit is contained in:
parent
c3ef53d6fd
commit
989c91f1d1
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ Loading cockatrice web client...
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#loginnow").click(connect);
|
$("#loginnow").click(connect);
|
||||||
$("#host, #port, #user, #pass").keydown(function(e) {
|
$("#port, #user, #pass").keydown(function(e) {
|
||||||
if (e.keyCode == 13) { connect(); }
|
if (e.keyCode == 13) { connect(); }
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue