summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/share/js/login/main.js6
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() {