From 8fe5dbb92cec25467f1f1c23f65113c5e956a7ff Mon Sep 17 00:00:00 2001 From: Aaron Lidman Date: Mon, 18 Nov 2013 16:41:25 -0800 Subject: [PATCH] Wrap bounds of changeset request, closes #72 --- app/assets/javascripts/index/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.43.2