diff --git a/lib/router.js b/lib/router.js index 2ac6575..57e90f0 100644 --- a/lib/router.js +++ b/lib/router.js @@ -119,8 +119,10 @@ define(function () { if (d in views) { views[d]() - if (running) { + if (!currentView) currentView = d + + if (running) { if (currentObject) if ("node" in currentObject) gotoNode(currentObject.node)