mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 23:50:13 +01:00
This commit is contained in:
parent
2d4d4568da
commit
da7aad062d
1 changed files with 1 additions and 1 deletions
|
|
@ -160,10 +160,10 @@ export class Outline extends Model {
|
||||||
} else {
|
} else {
|
||||||
iconElement.classList.add("block__icon--active");
|
iconElement.classList.add("block__icon--active");
|
||||||
window.siyuan.storage[Constants.LOCAL_OUTLINE].keepExpand = true;
|
window.siyuan.storage[Constants.LOCAL_OUTLINE].keepExpand = true;
|
||||||
|
this.tree.expandAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
setStorageVal(Constants.LOCAL_OUTLINE, window.siyuan.storage[Constants.LOCAL_OUTLINE]);
|
setStorageVal(Constants.LOCAL_OUTLINE, window.siyuan.storage[Constants.LOCAL_OUTLINE]);
|
||||||
this.tree.expandAll();
|
|
||||||
});
|
});
|
||||||
options.tab.panelElement.addEventListener("click", (event: MouseEvent & { target: HTMLElement }) => {
|
options.tab.panelElement.addEventListener("click", (event: MouseEvent & { target: HTMLElement }) => {
|
||||||
if (this.type === "local") {
|
if (this.type === "local") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue