|
@@ -111,7 +111,7 @@ require(["map", "infobox/main"], function (Map, Infobox) {
|
|
|
historyDict.links[linkId(d)] = d
|
|
|
})
|
|
|
|
|
|
- gotoAnything.reset()
|
|
|
+ gotoAnything.reset(false)
|
|
|
|
|
|
gotoHistory(gotoAnything, historyDict, window.location.hash)
|
|
|
|
|
@@ -326,12 +326,15 @@ require(["map", "infobox/main"], function (Map, Infobox) {
|
|
|
|
|
|
var infobox
|
|
|
|
|
|
- function resetView() {
|
|
|
+ function resetView(push) {
|
|
|
+ push = trueDefault(push)
|
|
|
+
|
|
|
targets.forEach( function (t) {
|
|
|
t.resetView()
|
|
|
})
|
|
|
|
|
|
- pushHistory()
|
|
|
+ if (push)
|
|
|
+ pushHistory()
|
|
|
}
|
|
|
|
|
|
function gotoNode(d, showMap, push) {
|