X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b9f7f39140e942df4dc08d4167d3c07202628840..a1a5706203b80f819be25d1563008ecd3039fe6c:/app/views/site/_potlatch2.html.erb?ds=sidebyside diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index f77f67f52..51c9aa905 100644 --- a/app/views/site/_potlatch2.html.erb +++ b/app/views/site/_potlatch2.html.erb @@ -64,7 +64,7 @@ // 700,600 for fixed size, 100%,100% for resizable if (lat && lon) { - updatelinks(lon, lat, zoom); + updatelinks({ lon: lon, lat: lat }, zoom); } } @@ -86,6 +86,6 @@ }); function mapMoved(lon, lat, zoom, minlon, minlat, maxlon, maxlat) { - updatelinks(lon, lat, zoom, null, minlon, minlat, maxlon, maxlat); + updatelinks({ lon: lon, lat: lat }, zoom, null, [[minlat, minlon], [maxlat, maxlon]]); }