aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base')
-rw-r--r--templates/web/base/common_header_tags.html3
-rw-r--r--templates/web/base/front/javascript.html3
2 files changed, 5 insertions, 1 deletions
diff --git a/templates/web/base/common_header_tags.html b/templates/web/base/common_header_tags.html
index 77c28232b..a474ddb38 100644
--- a/templates/web/base/common_header_tags.html
+++ b/templates/web/base/common_header_tags.html
@@ -5,6 +5,9 @@
<meta name="cobrand" content="[% c.cobrand.moniker %]">
+<!--[if (lt IE 9)]>
+ <script src="[% version('/js/html5shiv.js') %]""></script>
+<![endif]-->
<script src="[% version('/js/modernizr.custom.js') %]" charset="utf-8"></script>
<script type="text/javascript" src="[% start %]/js/translation_strings.[% lang_code %].js?[% Math.int( date.now / 3600 ) %]"></script>
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') %]",