aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-19 05:32:31 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-19 05:32:31 +0000
commit52f127f23c21675ff7e0d35f1a94741c77e3ed52 (patch)
treebf7a9a7a8aba93948b3912a74da371671f647e64
parent0331c8f714e7c1af6d4a871cd37f491180668855 (diff)
downloadelgg-52f127f23c21675ff7e0d35f1a94741c77e3ed52.tar.gz
elgg-52f127f23c21675ff7e0d35f1a94741c77e3ed52.tar.bz2
using shorthand for document ready callback
git-svn-id: http://code.elgg.org/elgg/trunk@8765 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/forms/register.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/default/forms/register.php b/views/default/forms/register.php
index 8828e89e1..faffb285a 100644
--- a/views/default/forms/register.php
+++ b/views/default/forms/register.php
@@ -57,9 +57,8 @@ echo elgg_view('input/hidden', array('name' => 'friend_guid', 'value' => $vars['
echo elgg_view('input/hidden', array('name' => 'invitecode', 'value' => $vars['invitecode']));
echo elgg_view('input/submit', array('name' => 'submit', 'value' => elgg_echo('register')));
?>
-<?php //@todo JS 1.8: no ?>
<script type="text/javascript">
- $(document).ready(function() {
+ $(function() {
$('input[name=name]').focus();
});
</script> \ No newline at end of file