UI logic tweaking.
This commit is contained in:
@@ -18,8 +18,8 @@ function pushToStack(stack, page) {
|
||||
if(stack.depth === 1) {
|
||||
stack.replace(page)
|
||||
} else {
|
||||
stack.clear()
|
||||
stack.push(page)
|
||||
stack.pop(null)
|
||||
stack.replace(page)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user