aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/front/javascript.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/front/javascript.html')
-rw-r--r--templates/web/base/front/javascript.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/web/base/front/javascript.html b/templates/web/base/front/javascript.html
index b24c7493f..c3f527947 100644
--- a/templates/web/base/front/javascript.html
+++ b/templates/web/base/front/javascript.html
@@ -1,10 +1,11 @@
[%# Assume using OpenStreetMap maps %]
+<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') %]",