mirror of
https://github.com/friendica/friendica
synced 2024-11-20 02:23:41 +00:00
login - put keyboard focus on name input
This commit is contained in:
parent
6c47f262cc
commit
5b8c60d8f3
1 changed files with 2 additions and 2 deletions
4
boot.php
4
boot.php
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue