]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_id.html.erb
Merge branch 'master' into redesign
[rails.git] / app / views / site / _id.html.erb
index 059009a0c9af07c535e5d3e97411d4a55d509c73..195873c34c30194cf9491c0989691aaae6ae076d 100644 (file)
@@ -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 -%>