]> git.openstreetmap.org Git - rails.git/commitdiff
Use https in 'report a problem' link of embedded map
authorAnton Khorev <tony29@yandex.ru>
Mon, 12 Sep 2022 22:18:48 +0000 (01:18 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 12 Sep 2022 22:18:48 +0000 (01:18 +0300)
app/assets/javascripts/embed.js.erb

index c92be45155133a245a90699d912d69d5b24fe4c0..4ebb89da93134a422133640e6680119c6ab9e752 100644 (file)
@@ -75,7 +75,7 @@ window.onload = function () {
 L.Control.OSMReportAProblem = L.Control.Attribution.extend({
   options: {
     position: 'bottomright',
 L.Control.OSMReportAProblem = L.Control.Attribution.extend({
   options: {
     position: 'bottomright',
-    prefix: '<a href="http://www.openstreetmap.org/fixthemap?lat={x}&lon={y}&zoom={z}" target="_blank">'+I18n.t('javascripts.embed.report_problem')+'</a>'
+    prefix: '<a href="https://www.openstreetmap.org/fixthemap?lat={x}&lon={y}&zoom={z}" target="_blank">'+I18n.t('javascripts.embed.report_problem')+'</a>'
   },
 
   onAdd: function (map) {
   },
 
   onAdd: function (map) {