login - put keyboard focus on name input

This commit is contained in:
Friendika 2011-05-01 22:39:40 -07:00
parent 6c47f262cc
commit 5b8c60d8f3

View file

@ -846,9 +846,9 @@ function login($register = false) {
}
// $o = '<script type="text/javascript"> $(document).ready(function() { $.("#login-name").focus();} );</script>';
$o = '<script type="text/javascript"> $(document).ready(function() { $("#login-name").focus();} );</script>';
$o = replace_macros($tpl,array(
$o .= replace_macros($tpl,array(
'$logout' => t('Logout'),
'$register_html' => $register_html,
'$classname' => $classname,