X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3c00c2032afe8112734fc59255aa002b6fb1051e..2b4eb3fde9c39176bff83e86b3a816619e4469ab:/app/assets/javascripts/index/history.js diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index 1a23ac7b1..c35aaf288 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -220,7 +220,7 @@ OSM.History = function (map) { const neClamped = crs.unproject(crs.project(ne)); if (sw.lat >= swClamped.lat || ne.lat <= neClamped.lat || ne.lng - sw.lng < 360) { - data.set("bbox", map.getBounds().wrap().toBBoxString()); + data.set("bbox", map.getBounds().toBBoxString()); } }