aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorEvan Winslow <evan.b.winslow@gmail.com>2010-08-13 07:03:23 +0000
committerEvan Winslow <evan.b.winslow@gmail.com>2010-08-13 07:03:23 +0000
commitf836bb2d109261a9b1bcdb2de4d6f8274df73e38 (patch)
treec7738d721b254dfcc5ac3037bfc7152cd26ca1eb /start.php
parent58a11a216ffb1f34984d47ffbda6eaa23763dd6e (diff)
downloadelgg-f836bb2d109261a9b1bcdb2de4d6f8274df73e38.tar.gz
elgg-f836bb2d109261a9b1bcdb2de4d6f8274df73e38.tar.bz2
Add's Modernizr (html5 feature detection library) + support for placeholders in browsers that don't support it natively.
Diffstat (limited to 'start.php')
-rw-r--r--start.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/start.php b/start.php
index 44e4be096..9b442a243 100644
--- a/start.php
+++ b/start.php
@@ -1,13 +1,9 @@
<?php
function html5_init() {
-
- //This script must appear before any styles
- elgg_extend_view('head/metas', 'scripts/html5', 1);
-
elgg_extend_view('css', 'html5/css');
- elgg_view_register_simplecache('scripts/html5');
+ elgg_extend_view('js/initialise_elgg', 'js/html5');
}
register_elgg_event_handler('init', 'system', 'html5_init');