From 73535e20606e6dda988d1b2f477f27f47d99161c Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Thu, 17 Nov 2016 11:47:11 +0100 Subject: [PATCH] fix misspelling (lon -> lng) fixes https://github.com/openstreetmap/iD/issues/3588 --- app/views/site/_id.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index 757326ec3d..d93ee091e9 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -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 -%>