X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/57e571d241875e867ba5d419fc71cd47c1792a67..1288a89bdcb1299d8dded7b24c8afce0c4dac7b8:/public/javascripts/site.js?ds=inline diff --git a/public/javascripts/site.js b/public/javascripts/site.js index 59999b8c0..3e28e0c0a 100644 --- a/public/javascripts/site.js +++ b/public/javascripts/site.js @@ -55,6 +55,9 @@ function updatelinks(lon,lat,zoom,layers,minlon,minlat,maxlon,maxlat,objtype,obj args.lat = lat; args.lon = lon; args.zoom = zoom; + if (objtype && objid) { + args[objtype] = objid; + } node.href = setArgs("/edit", args); node.style.fontStyle = 'normal'; } else {