X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2f076d8f349837751e701d9c948414abc7ddeeaf..d414ffc61a0f6505f1d06e89e8668fa5b49d607e:/app/views/site/_potlatch2.html.erb diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index a6cde5960..faff8de1e 100644 --- a/app/views/site/_potlatch2.html.erb +++ b/app/views/site/_potlatch2.html.erb @@ -87,8 +87,8 @@ }); }); - var mapMoved = $.throttle(250, function(lon, lat, zoom, minlon, minlat, maxlon, maxlat) { - updatelinks({ lon: lon, lat: lat }, zoom, null, [[minlat, minlon], [maxlat, maxlon]]); + var mapMoved = $.throttle(250, function(lon, lat, zoom) { + updatelinks({ lon: lon, lat: lat }, zoom); var hash = OSM.formatHash({ lon: lon, lat: lat, zoom: zoom }); if (hash !== location.hash) {