diff --git a/airtime_mvc/application/views/scripts/form/login.phtml b/airtime_mvc/application/views/scripts/form/login.phtml index f34f5d6b7..87510201a 100644 --- a/airtime_mvc/application/views/scripts/form/login.phtml +++ b/airtime_mvc/application/views/scripts/form/login.phtml @@ -25,7 +25,7 @@ Reset password - + element->getElement('captcha') ?>
 
element->getElement('submit') ?> diff --git a/airtime_mvc/public/js/airtime/login/login.js b/airtime_mvc/public/js/airtime/login/login.js index 478b1a978..b0a2ebd64 100644 --- a/airtime_mvc/public/js/airtime/login/login.js +++ b/airtime_mvc/public/js/airtime/login/login.js @@ -1,6 +1,3 @@ $(window).load(function(){ - $("#username").focus() - - var captcha = $("#captcha-label").next() - captcha.css("padding-left", (((captcha.parents('div:eq(0)').width()-captcha.width())/2+"px"))); + $("#username").focus(); }) \ No newline at end of file