]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/embed.js.erb
Merge remote-tracking branch 'upstream/pull/5825'
[rails.git] / app / assets / javascripts / embed.js.erb
index 816bde76cef9e8a534a53ccb41a08f9727c34c57..5153a228efdc0b8ace71bf43e919fff27478e48a 100644 (file)
@@ -56,7 +56,7 @@ window.onload = function () {
 L.Control.OSMReportAProblem = L.Control.Attribution.extend({
   options: {
     position: "bottomright",
-    prefix: `<a href="https://www.openstreetmap.org/fixthemap?lat={x}&lon={y}&zoom={z}" target="_blank">${OSM.i18n.t("javascripts.embed.report_problem")}</a>`
+    prefix: `<a href="/fixthemap?lat={x}&lon={y}&zoom={z}" target="_blank">${OSM.i18n.t("javascripts.embed.report_problem")}</a>`
   },
 
   onAdd: function (map) {