🐛 我看还是把等号加上吧
This commit is contained in:
1 parent
f056da1dfc
commit
0abba64ea8
1 file changed
+1
-1
@@ -265,7 +265,7 @@ function loadMap(children_json) {
|
||||
back.textContent = "← 返回上一层";
|
||||
back.addEventListener("click", () => {
|
||||
stack.pop();
|
||||
var id = (stack.length > 0) ? stack[stack.length - 1] : 0;
|
||||
var id = (stack.length >= 0) ? stack[stack.length - 1] : 0;
|
||||
getNode(token, id).then(load_notes);
|
||||
getNode(token, id).then(loadMap);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user