diff options
-rw-r--r-- | design/templates/archives/map.html | 6 | ||||
-rw-r--r-- | design/templates/details/national-parks.html | 6 | ||||
-rw-r--r-- | design/templates/details/photo_galleries.html | 6 |
3 files changed, 3 insertions, 15 deletions
diff --git a/design/templates/archives/map.html b/design/templates/archives/map.html index c82d602..493fefd 100644 --- a/design/templates/archives/map.html +++ b/design/templates/archives/map.html @@ -9,11 +9,7 @@ Google Maps code ==============================================#} {% block extrahead %} - <script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script> - <script type="text/javascript"> - if (typeof L === "undefined") { - document.write(unescape("%3Cscript src='/media/js/leaflet-0.7.3/leaflet.js' type='text/javascript'%3E%3C/script%3E")); - </script> + <script src="/media/js/leaflet-0.7.3/leaflet.js"></script> <style> #map-canvas img{ border: none;} </style> diff --git a/design/templates/details/national-parks.html b/design/templates/details/national-parks.html index 6eaa902..13b9486 100644 --- a/design/templates/details/national-parks.html +++ b/design/templates/details/national-parks.html @@ -3,11 +3,7 @@ {% block pagetitle %}Luxagraf | Projects | National Parks {% endblock %} {% block metadescription %}{% endblock %} {% block extrahead %} - <script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script> - <script type="text/javascript"> - if (typeof L === "undefined") { - document.write(unescape("%3Cscript src='/media/js/leaflet-0.7.3/leaflet.js' type='text/javascript'%3E%3C/script%3E")); - </script> + <script src="/media/js/leaflet-0.7.3/leaflet.js"></script> <style> #map-canvas img{ border: none;} </style> diff --git a/design/templates/details/photo_galleries.html b/design/templates/details/photo_galleries.html index 9aa2972..f508bb4 100644 --- a/design/templates/details/photo_galleries.html +++ b/design/templates/details/photo_galleries.html @@ -9,11 +9,7 @@ {% block metadescription %}{{object.set_desc|truncatewords:30|smartypants|safe}}{% endblock %} {% block extrahead %} - <script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script> - <script type="text/javascript"> - if (typeof L === "undefined") { - document.write(unescape("%3Cscript src='/media/js/leaflet-0.7.3/leaflet.js' type='text/javascript'%3E%3C/script%3E")); - </script> + <script src="/media/js/leaflet-0.7.3/leaflet.js"></script> <style> #map-canvas img{ border: none;} </style> |