]> git.openstreetmap.org Git - rails.git/commitdiff
Use correct URL for problem report control
authorTom Hughes <tom@compton.nu>
Fri, 17 Jul 2015 21:36:57 +0000 (22:36 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 17 Jul 2015 21:36:57 +0000 (22:36 +0100)
app/assets/javascripts/embed.js.erb

index d5231fea450ad255ec93e9d11efb6d84b5755a73..ca5594459101720b3e95d297c40411e9a21ba1b8 100644 (file)
@@ -51,7 +51,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#{z}/{x}/{y}">Report a problem</a>'
+    prefix: '<a href="http://www.openstreetmap.org/fixthemap?lat={x}&lon={y}&zoom={z}">Report a problem</a>'
   },
 
   onAdd: function (map) {
   },
 
   onAdd: function (map) {