]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_id.html.erb
Put the user avatar in a <p> block
[rails.git] / app / views / site / _id.html.erb
index 757326ec3d76671cf3ed4772c0aeceaaa7c4b633..d93ee091e91d68e3d478776891b959067e8b8168 100644 (file)
@@ -10,7 +10,7 @@
       params.id = mapParams.object.type[0] + mapParams.object.id;
       mapParams = OSM.parseHash(location.hash);
       if (mapParams.center) {
-        params.map = mapParams.zoom + '/' + mapParams.center.lat + '/' + mapParams.center.lon;
+        params.map = mapParams.zoom + '/' + mapParams.center.lat + '/' + mapParams.center.lng;
       }
     } else {
 <% if @lat && @lon -%>