From 6625f167026127856ba7b6318ab1ccae10561468 Mon Sep 17 00:00:00 2001 From: Binnette Date: Thu, 20 Feb 2020 21:33:41 +0100 Subject: [PATCH 1/2] Remove protocol from iframe src url Note that baseUrl is only used for iframe src url, nothing else --- umap/static/umap/js/umap.controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index ed257d13..82425e25 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -1033,7 +1033,7 @@ L.U.IframeExporter = L.Evented.extend({ initialize: function (map) { this.map = map; - this.baseUrl = window.location.protocol + '//' + window.location.host + window.location.pathname; + this.baseUrl = '//' + window.location.host + window.location.pathname; // Use map default, not generic default this.queryString.onLoadPanel = this.map.options.onLoadPanel; }, From 004b10f97440533a43642729379ac5cd33c34b74 Mon Sep 17 00:00:00 2001 From: Binnette Date: Sat, 22 Feb 2020 23:16:01 +0100 Subject: [PATCH 2/2] Update transifex url in docs --- docs/contributing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contributing.md b/docs/contributing.md index 615fe0f6..337ec1ea 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -2,4 +2,4 @@ ## Translating -Translation is managed through [Transifex](https://www.transifex.com/yohanboniface/umap/dashboard/). +Translation is managed through [Transifex](https://www.transifex.com/openstreetmap/umap/).