Wrap bounds of changeset request, closes #72

This commit is contained in:
Aaron Lidman 2013-11-18 16:41:25 -08:00
parent 653f7c0d74
commit 8fe5dbb92c

View file

@ -46,7 +46,7 @@ OSM.History = function(map) {
$.ajax({ $.ajax({
url: window.location.pathname, url: window.location.pathname,
method: "GET", method: "GET",
data: {bbox: map.getBounds().toBBoxString()}, data: {bbox: map.getBounds().wrap().toBBoxString()},
success: function(html, status, xhr) { success: function(html, status, xhr) {
$('#sidebar_content .changesets').html(html); $('#sidebar_content .changesets').html(html);
updateMap(); updateMap();