aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-01 22:39:40 -0700
committerFriendika <info@friendika.com>2011-05-01 22:39:40 -0700
commit5b8c60d8f389dd9c635e58f88e62eda0fc2a0de5 (patch)
tree19e10ee915b44be23a2ccd8bdab236ab998b26ba
parent6c47f262cc8be96de0f543284b303fd6a1564a3f (diff)
downloadvolse-hubzilla-5b8c60d8f389dd9c635e58f88e62eda0fc2a0de5.tar.gz
volse-hubzilla-5b8c60d8f389dd9c635e58f88e62eda0fc2a0de5.tar.bz2
volse-hubzilla-5b8c60d8f389dd9c635e58f88e62eda0fc2a0de5.zip
login - put keyboard focus on name input
-rw-r--r--boot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 6926489ec..719491d6b 100644
--- a/boot.php
+++ b/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,