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({
updateMap();
}
});
-
- var feedLink = $("link[type=\"application/atom+xml\"]"),
- feedHref = feedLink.attr("href").split("?")[0];
-
- feedLink.attr("href", feedHref + "?bbox=" + data.bbox);
}
function loadMore(e) {