diff options
author | Devaev Maxim <[email protected]> | 2020-12-25 05:09:52 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-12-25 05:09:52 +0300 |
commit | 3ae6f3f881b4a116f962c919af8606ba32d905db (patch) | |
tree | 74e883600db81a12706df1e741b3cfb6b8c9e74b /web/share/js/login | |
parent | dd4c797d26bdd7107bfb748c1aced677ca083af0 (diff) |
refactoring
Diffstat (limited to 'web/share/js/login')
-rw-r--r-- | web/share/js/login/main.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/share/js/login/main.js b/web/share/js/login/main.js index 0317359c..21d1ab63 100644 --- a/web/share/js/login/main.js +++ b/web/share/js/login/main.js @@ -75,9 +75,9 @@ function __login() { } function __setEnabled(enabled) { - wm.switchEnabled($("user-input"), enabled); - wm.switchEnabled($("passwd-input"), enabled); - wm.switchEnabled($("login-button"), enabled); + wm.setElementEnabled($("user-input"), enabled); + wm.setElementEnabled($("passwd-input"), enabled); + wm.setElementEnabled($("login-button"), enabled); } function __tryAgain() { |