aboutsummaryrefslogtreecommitdiff
path: root/views/default/core/account/login_box.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/core/account/login_box.php')
-rw-r--r--views/default/core/account/login_box.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/core/account/login_box.php b/views/default/core/account/login_box.php
index 40b5f5637..274172bdb 100644
--- a/views/default/core/account/login_box.php
+++ b/views/default/core/account/login_box.php
@@ -20,7 +20,7 @@ echo elgg_view_module('aside', $title, $body);
<script type="text/javascript">
- elgg.register_event_handler('init', 'system', function() {
+ elgg.register_hook_handler('init', 'system', function() {
$('input[name=username]').focus();
});
</script>