From 4544ff21905687a6d2bb563f2e951f3c4fc8c731 Mon Sep 17 00:00:00 2001 From: amercader Date: Tue, 22 Jul 2014 10:57:35 +0100 Subject: [PATCH] [#1729] Fix insecure content warning in recline map --- ckanext/reclinepreview/theme/public/vendor/recline/recline.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckanext/reclinepreview/theme/public/vendor/recline/recline.js b/ckanext/reclinepreview/theme/public/vendor/recline/recline.js index 6dcfd79141a..4de27defa8b 100644 --- a/ckanext/reclinepreview/theme/public/vendor/recline/recline.js +++ b/ckanext/reclinepreview/theme/public/vendor/recline/recline.js @@ -3625,8 +3625,8 @@ my.Map = Backbone.View.extend({ var self = this; this.map = new L.Map(this.$map.get(0)); - var mapUrl = "http://otile{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png"; - var osmAttribution = 'Map data © 2011 OpenStreetMap contributors, Tiles Courtesy of MapQuest '; + var mapUrl = "//otile{s}-s.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png"; + var osmAttribution = 'Map data © 2011 OpenStreetMap contributors, Tiles Courtesy of MapQuest '; var bg = new L.TileLayer(mapUrl, {maxZoom: 18, attribution: osmAttribution ,subdomains: '1234'}); this.map.addLayer(bg);