summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-12-18 04:33:25 +0300
committerDevaev Maxim <[email protected]>2018-12-18 04:33:25 +0300
commit94050d5a4931e4e68f4e35f93c397537ff3e3915 (patch)
treea44fee7f0db47576729257b93df2f6b8ef56cf4d
parent4fb188b93eb4f5b47ff5ec2d619c87b3269e829a (diff)
click() instead __login()
-rw-r--r--web/share/js/login/main.js2
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();
}
};