[ci skip] Don't send connection form when enter is pressed on the host autocompleter (#2225)

This commit is contained in:
ctrlaltca 2016-10-18 14:47:54 +02:00 committed by GitHub
parent c3ef53d6fd
commit 989c91f1d1

View file

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