aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/embed/start.php2
-rw-r--r--mod/profile/start.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/embed/start.php b/mod/embed/start.php
index 5f8b76641..8ad1a6178 100644
--- a/mod/embed/start.php
+++ b/mod/embed/start.php
@@ -11,7 +11,7 @@
*/
function embed_init() {
elgg_extend_view('css/screen', 'embed/css');
- elgg_extend_view('js/initialise_elgg', 'embed/js');
+ elgg_extend_view('js/elgg', 'embed/js');
elgg_extend_view('html_head/extend', 'embed/metatags');
elgg_extend_view('input/longtext', 'embed/link', 1);
diff --git a/mod/profile/start.php b/mod/profile/start.php
index 5e581a308..4c24c2b50 100644
--- a/mod/profile/start.php
+++ b/mod/profile/start.php
@@ -40,7 +40,7 @@ function profile_init() {
// Add Javascript reference to the page header
elgg_extend_view('html_head/extend', 'profile/metatags');
elgg_extend_view('css/screen', 'profile/css');
- elgg_extend_view('js/initialise_elgg', 'profile/javascript');
+ elgg_extend_view('js/elgg', 'profile/javascript');
// Now override icons
elgg_register_plugin_hook_handler('entity:icon:url', 'user', 'profile_usericon_hook');