aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/views.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index fa65bcae8..ade5ff678 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -1471,8 +1471,8 @@ function elgg_invalidate_simplecache() {
* Add the core Elgg head elements that could be cached
*/
function elgg_views_register_core_head_elements() {
- $url = elgg_view_get_simplecache_url('js', 'initialise_elgg');
- elgg_register_js($url, 'initialise_elgg');
+ $url = elgg_view_get_simplecache_url('js', 'elgg');
+ elgg_register_js($url, 'elgg');
$url = elgg_view_get_simplecache_url('css', 'screen');
elgg_register_css($url, 'screen');
@@ -1493,7 +1493,7 @@ function elgg_views_boot() {
elgg_view_register_simplecache('css/ie');
elgg_view_register_simplecache('css/ie6');
elgg_view_register_simplecache('js/friendsPickerv1');
- elgg_view_register_simplecache('js/initialise_elgg');
+ elgg_view_register_simplecache('js/elgg');
$base = elgg_get_site_url();
elgg_register_js("{$base}vendors/jquery/jquery-1.4.2.min.js", 'jquery');