aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/fixmystreet.com/front/javascript.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/fixmystreet.com/front/javascript.html')
-rw-r--r--templates/web/fixmystreet.com/front/javascript.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/web/fixmystreet.com/front/javascript.html b/templates/web/fixmystreet.com/front/javascript.html
index 389b7ad93..26ac5f908 100644
--- a/templates/web/fixmystreet.com/front/javascript.html
+++ b/templates/web/fixmystreet.com/front/javascript.html
@@ -1,9 +1,10 @@
+<script src="[% version('/js/yepnope.js') %]"></script>
<script>
yepnope.addPrefix( 'preload', function ( resource ) {
resource.noexec = true;
return resource;
});
-Modernizr.load({
+yepnope({
load: [
"preload![% version('/js/OpenLayers/OpenLayers.fixmystreet.js') %]",
"preload![% version('/js/map-OpenLayers.js') %]",