From 47a75be1c724bd450cf34da94863f62cb5d8b545 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 25 Apr 2013 17:27:01 +0100 Subject: [PATCH] Use the correct longitude for links when browsing changesets --- app/assets/javascripts/browse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/browse.js b/app/assets/javascripts/browse.js index 7149b3481..f911783b5 100644 --- a/app/assets/javascripts/browse.js +++ b/app/assets/javascripts/browse.js @@ -43,7 +43,7 @@ $(document).ready(function () { }); var centre = bbox.getCenter(); - updatelinks(centre.lon, centre.lat, 16, null, params.minlon, params.minlat, params.maxlon, params.maxlat); + updatelinks(centre.lng, centre.lat, 16, null, params.minlon, params.minlat, params.maxlon, params.maxlat); } else if (params.type == "note") { var object = {type: params.type, id: params.id}; -- 2.39.5