diff options
author | Devaev Maxim <[email protected]> | 2018-12-16 22:56:34 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-12-16 22:56:34 +0300 |
commit | 2ffbbdc0dbc0794eed1afed44d015a618917baba (patch) | |
tree | f01089f7765cf852ffb794cf7d5f68c3666b06ab /web | |
parent | 68c21d0ccdebf78e4738c443dcdf84adc7a697b3 (diff) |
using wm.switchDisabled()
Diffstat (limited to 'web')
-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 f949b8cf..ab844c50 100644 --- a/web/share/js/login/main.js +++ b/web/share/js/login/main.js @@ -39,9 +39,9 @@ function __login() { } function __setDisabled(disabled) { - $("user-input").disabled = disabled; - $("passwd-input").disabled = disabled; - $("login-button").disabled = disabled; + wm.switchDisabled($("user-input"), disabled); + wm.switchDisabled($("passwd-input"), disabled); + wm.switchDisabled($("login-button"), disabled); } function __tryAgain() { |