X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d8a504d8dbc7262dee96678e98d017d918dfa111..4baa17511f26d6a1e1cf1bbb343ebc2746b3666d:/app/views/site/_potlatch2.html.erb?ds=inline 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) {