Skip to content

Commit

Permalink
[ui] Feedback on login when pressing <enter>
Browse files Browse the repository at this point in the history
  • Loading branch information
sreenaths committed Feb 5, 2021
1 parent 32f59cf commit 3eed0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/core/src/desktop/templates/login.mako
Expand Up @@ -186,7 +186,7 @@ ${ commonheader(_("Welcome to Hue"), "login", user, request, "50px", True, True)
$(document).keypress(function (event) {
var keycode = event.keyCode ? event.keyCode : event.which;
if(keycode == '13') {
$("form").submit();
$("[type=submit]").click();
}
});
Expand Down

0 comments on commit 3eed0e7

Please sign in to comment.