summaryrefslogtreecommitdiff
path: root/web/share/js/login
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/login')
-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 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() {