X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6494747882358cc1506ae442c89eed3db1de94a4..c798962cda8ede6425ce56c59533bc476180a830:/app/views/site/_id.html.erb diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index 059009a0c..195873c34 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 -%>