router: ensure currentView is set
This commit is contained in:
parent
bc8943abc2
commit
b2a90109bb
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue