Fix "Edit area" links

This commit is contained in:
John Firebaugh 2013-08-06 11:52:05 -07:00 committed by Tom Hughes
parent e6ef6defb2
commit f18740a7af

View file

@ -81,6 +81,8 @@ OSM = {
mapParams.zoom = hash.zoom;
mapParams.object_zoom = false;
} else if (bounds) {
mapParams.lon = bounds.getCenter().lng; // Not used by main map, but
mapParams.lat = bounds.getCenter().lat; // are used by iD/Potlatch.
mapParams.bounds = bounds;
mapParams.object_zoom = false;
} else if (params.lon && params.lat) {