mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-26 17:04:07 +01:00
This commit is contained in:
parent
410251677c
commit
4837f35487
5 changed files with 23 additions and 18 deletions
|
|
@ -45,7 +45,7 @@ export class MobileOutline {
|
|||
}
|
||||
});
|
||||
this.element.firstElementChild.querySelector('[data-type="collapse"]').addEventListener(getEventName(), () => {
|
||||
this.tree.collapseAll(true);
|
||||
this.tree.collapseAll();
|
||||
});
|
||||
const expandElement = this.element.firstElementChild.querySelector('[data-type="expand"]');
|
||||
expandElement.addEventListener(getEventName(), () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue