summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/index.js b/js/index.js
index f28e144..7041943 100644
--- a/js/index.js
+++ b/js/index.js
@@ -282,6 +282,9 @@ function login(){
if(username !== 'undefined' && username != null && username != '' && password !== 'undefined' && password != null && password != ''){
sendlogin(username, password);
+ }else{
+ $('#loginform').removeClass('ui-disabled');
+ $('#loader').hide('fast');
}
}