mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
35ccbaa0f0
commit
f67bd1ad7f
3 changed files with 13 additions and 3 deletions
|
|
@ -780,7 +780,12 @@ export class Files extends Model {
|
|||
currentPath = dirname + ".sy";
|
||||
}
|
||||
} else {
|
||||
liElement.querySelector(".fn__hidden")?.classList.remove("fn__hidden");
|
||||
const hiddenElement = liElement.querySelector(".fn__hidden")
|
||||
if (hiddenElement) {
|
||||
hiddenElement.classList.remove("fn__hidden");
|
||||
} else {
|
||||
this.getLeaf(liElement, notebookId, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue