diff options
author | Devaev Maxim <[email protected]> | 2018-12-16 22:26:30 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-12-16 22:26:30 +0300 |
commit | 68c21d0ccdebf78e4738c443dcdf84adc7a697b3 (patch) | |
tree | 46f5e20a784bf410012622927e84e561d385d1f9 /web | |
parent | 18842fdd35d387fef89b8b73f40c9db334f54121 (diff) |
syntax fix
Diffstat (limited to 'web')
-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 378ece6c..f949b8cf 100644 --- a/web/share/js/login/main.js +++ b/web/share/js/login/main.js @@ -6,7 +6,7 @@ function main() { tools.setOnClick($("login-button"), __login); $("user-input").onkeyup = $("passwd-input").onkeyup = function(event) { - if (event.code == "Enter") { + if (event.code === "Enter") { event.preventDefault(); __login(); } |