Open new tab/window for "report a problem" link
This avoids closing whatever site the user was looking at when they spotted he problem, and avoid problems when the embedded map is part of an iframe as the problem report page denies embedding.
This commit is contained in:
parent
ca5de5b4e0
commit
151a48d7f3
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ window.onload = function () {
|
|||
L.Control.OSMReportAProblem = L.Control.Attribution.extend({
|
||||
options: {
|
||||
position: 'bottomright',
|
||||
prefix: '<a href="http://www.openstreetmap.org/fixthemap?lat={x}&lon={y}&zoom={z}">Report a problem</a>'
|
||||
prefix: '<a href="http://www.openstreetmap.org/fixthemap?lat={x}&lon={y}&zoom={z}" target="_blank">Report a problem</a>'
|
||||
},
|
||||
|
||||
onAdd: function (map) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue