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)
gotoNode(currentObject.node)
else if ("link" in currentObject)
gotoNode(currentObject.link)
gotoLink(currentObject.link)
else
targets.forEach( function (t) {
t.resetView()