router: bugfix

This commit is contained in:
Nils Schneider 2015-07-07 00:12:42 +02:00
parent b2a90109bb
commit 8bbad8e1d5

View file

@ -127,7 +127,7 @@ define(function () {
if ("node" in currentObject) if ("node" in currentObject)
gotoNode(currentObject.node) gotoNode(currentObject.node)
else if ("link" in currentObject) else if ("link" in currentObject)
gotoNode(currentObject.link) gotoLink(currentObject.link)
else else
targets.forEach( function (t) { targets.forEach( function (t) {
t.resetView() t.resetView()