X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/560763d224c7b4020c04c9f04553277d92b80dc2..ca64b39e0d204e76bc4a3a0281bdee9f22fe0824:/app/assets/javascripts/osm.js.erb?ds=sidebyside diff --git a/app/assets/javascripts/osm.js.erb b/app/assets/javascripts/osm.js.erb index 4c5faa829..392bf5e0c 100644 --- a/app/assets/javascripts/osm.js.erb +++ b/app/assets/javascripts/osm.js.erb @@ -46,6 +46,7 @@ OSM = { mapParams.mlat = parseFloat(params.mlat); } + // Old-style object parameters; still in use for edit links e.g. /edit?way=1234 if (params.node) { mapParams.object = {type: 'node', id: parseInt(params.node)}; } else if (params.way) {