mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-13 21:46:56 -08:00
[ci skip] Don't send connection form when enter is pressed on the host autocompleter (#2225)
This commit is contained in:
@@ -209,7 +209,7 @@ Loading cockatrice web client...
|
||||
}
|
||||
|
||||
$("#loginnow").click(connect);
|
||||
$("#host, #port, #user, #pass").keydown(function(e) {
|
||||
$("#port, #user, #pass").keydown(function(e) {
|
||||
if (e.keyCode == 13) { connect(); }
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user