aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/input/autocomplete.php2
-rw-r--r--views/default/input/userpicker.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/input/autocomplete.php b/views/default/input/autocomplete.php
index d0b12c31d..1093de2d3 100644
--- a/views/default/input/autocomplete.php
+++ b/views/default/input/autocomplete.php
@@ -29,7 +29,7 @@ $ac_url_params = http_build_query(array(
unset($vars['match_on']);
unset($vars['match_owner']);
-elgg_register_js('js/lib/autocomplete.js', 'autocomplete', 'footer');
+elgg_register_js('js/lib/autocomplete.js', 'autocomplete', 'head');
?>
diff --git a/views/default/input/userpicker.php b/views/default/input/userpicker.php
index 18c71a7f3..980af2684 100644
--- a/views/default/input/userpicker.php
+++ b/views/default/input/userpicker.php
@@ -18,7 +18,7 @@
*
*/
-elgg_register_js('js/lib/userpicker.js', 'userpicker', 'footer');
+elgg_register_js('js/lib/userpicker.js', 'userpicker', 'head');
function user_picker_add_user($user_id) {
$user = get_entity($user_id);