aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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