diff options
Diffstat (limited to 'design/templates/archives/map.html')
-rw-r--r-- | design/templates/archives/map.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/design/templates/archives/map.html b/design/templates/archives/map.html index 76713df..05df67c 100644 --- a/design/templates/archives/map.html +++ b/design/templates/archives/map.html @@ -10,10 +10,15 @@ Google Maps code ==============================================#} {% block extrahead %} <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.css" /> - <!--[if lte IE 8]> - <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.ie.css" /> - <![endif]--> - <script src="http://cdn.leafletjs.com/leaflet-0.5/leaflet.js"></script> + <!--[if lte IE 8]> + <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.ie.css" /> + <![endif]--> + <script src="http://cdn.leafletjs.com/leaflet-0.5/leaflet.js"></script> + <script type="text/javascript"> + if (typeof L === "undefined") { + document.write(unescape("%3Cscript src='/media/js/leaflet-0.5/leaflet.js' type='text/javascript'%3E%3C/script%3E")); +} + </script> <style> #map-canvas img{ border: none;} |