From: Aaron Lidman Date: Tue, 19 Nov 2013 00:41:25 +0000 (-0800) Subject: Wrap bounds of changeset request, closes #72 X-Git-Tag: live~4671^2~45 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/8fe5dbb92cec25467f1f1c23f65113c5e956a7ff Wrap bounds of changeset request, closes #72 --- diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index afae6640f..367ad5214 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -46,7 +46,7 @@ OSM.History = function(map) { $.ajax({ url: window.location.pathname, method: "GET", - data: {bbox: map.getBounds().toBBoxString()}, + data: {bbox: map.getBounds().wrap().toBBoxString()}, success: function(html, status, xhr) { $('#sidebar_content .changesets').html(html); updateMap();