From 2a2a204125383729223083f203a04e9e6eff873d 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 Closes #1374 --- 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 757326ec3..d93ee091e 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 -%> -- 2.39.5