diff options
-rw-r--r-- | web/share/js/login/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/login/main.js b/web/share/js/login/main.js index ab844c50..42e614f0 100644 --- a/web/share/js/login/main.js +++ b/web/share/js/login/main.js @@ -8,7 +8,7 @@ function main() { $("user-input").onkeyup = $("passwd-input").onkeyup = function(event) { if (event.code === "Enter") { event.preventDefault(); - __login(); + $("login-button").click(); } }; |