Merge remote-tracking branch 'upstream/pull/3680'
This commit is contained in:
commit
35392c1a2f
2 changed files with 19 additions and 5 deletions
|
@ -48,6 +48,9 @@ OSM.History = function (map) {
|
|||
|
||||
if (window.location.pathname === "/history") {
|
||||
data.bbox = map.getBounds().wrap().toBBoxString();
|
||||
var feedLink = $("link[type=\"application/atom+xml\"]"),
|
||||
feedHref = feedLink.attr("href").split("?")[0];
|
||||
feedLink.attr("href", feedHref + "?bbox=" + data.bbox);
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
|
@ -59,11 +62,6 @@ OSM.History = function (map) {
|
|||
updateMap();
|
||||
}
|
||||
});
|
||||
|
||||
var feedLink = $("link[type=\"application/atom+xml\"]"),
|
||||
feedHref = feedLink.attr("href").split("?")[0];
|
||||
|
||||
feedLink.attr("href", feedHref + "?bbox=" + data.bbox);
|
||||
}
|
||||
|
||||
function loadMore(e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue