X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1557f9cf8973abf4af50de95b4f995a59b601cea..a9f4549327c9f19ac1ec14116d754077158ad8c9:/app/views/site/_id.html.erb?ds=sidebyside diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index 6409582cd..cb0c53fc3 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -6,7 +6,9 @@ var params = {}; var mapParams = OSM.mapParams(); - if (mapParams.object) { + if (mapParams.object && + mapParams.object.type !== 'note' && + mapParams.object.type !== 'changeset') { params.id = mapParams.object.type[0] + mapParams.object.id; } else { <% if @lat && @lon -%>