Fix freeze effect after typing a wrong password in login/register

This commit is contained in:
yflory
2020-02-11 14:03:06 +01:00
parent bd163e65f3
commit 035707bd38
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ define([
var $passwd = $('#password')
// background loading of login assets
// enter key while on password field clicks signup
.on('keyup', function (e) {
.on('keydown', function (e) {
if (e.which !== 13) { return; } // enter
$('button.login').click();
});