From 181fb0541ffd8c86c633796c31360e626e9e9413 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Wed, 23 Nov 2011 22:45:25 +0000 Subject: [PATCH] // --- js/login.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/js/login.js b/js/login.js index 449a4b3e0..f0649b540 100644 --- a/js/login.js +++ b/js/login.js @@ -1,6 +1,5 @@ $(document).ready(function() { - if (document.getElementById('email')) document.getElementById('email').focus(); - //$("#login").effect( "slide", { direction: "up" }, 1000 ); + if (document.getElementById('email')) document.getElementById('email').focus(); //$("#login").effect( "slide", { direction: "up" }, 1000 ); }); function displayForgotPassword() { @@ -36,11 +35,7 @@ function doAjaxLogin() { if (jsonData.hasErrors) { displayErrors(jsonData.errors); } else { - $("#login").effect("slide", { - direction: "up" - }, 1000, function() { - window.location.href = jsonData.redirect; - }); + window.location.href = jsonData.redirect; } }, error: function(XMLHttpRequest, textStatus, errorThrown) {