diff --git a/views/login-mobile.handlebars b/views/login-mobile.handlebars
index 30940bae..24f80c62 100644
--- a/views/login-mobile.handlebars
+++ b/views/login-mobile.handlebars
@@ -63,15 +63,15 @@
@@ -422,7 +422,6 @@
window.onresize = center;
center();
- validateLogin();
validateCreate();
if (loginMode.length != 0) { go(parseInt(loginMode)); } else { go(1); }
QV('newAccountDiv', (newAccount === '1') || (newAccount === 'true')); // If new accounts are not allowed, don't display the new account link.
@@ -573,16 +572,6 @@
}
}
- function validateLogin(box, e) {
- setTimeout(function(){
- var ok = ((Q('username').value.length > 0) && (Q('username').value.indexOf(' ') == -1) && (Q('password').value.length > 0));
- QE('loginButton', ok);
- setDialogMode(0);
- if ((e != null) && (e.keyCode == 13)) { if (box == 1) { Q('password').focus(); } else if (box == 2) { Q('loginButton').click(); } }
- if (e != null) { haltEvent(e); }
- }, 100);
- }
-
function validateCreate(box,e) {
setDialogMode(0);
var ok = false;
@@ -818,4 +807,4 @@