mirror of
https://github.com/lostpaul/obsidian-folder-notes.git
synced 2026-07-22 07:40:24 +00:00
Update FileExplorer.ts
This commit is contained in:
parent
cde7cf09ec
commit
e25ded832d
1 changed files with 1 additions and 2 deletions
|
|
@ -219,7 +219,6 @@ function createFolderEL(plugin: FolderNotesPlugin, child: TFolder, folderOvervie
|
|||
if (collapseIcon) {
|
||||
collapseIcon.innerHTML = svg;
|
||||
collapseIcon.onclick = () => {
|
||||
console.log('collapseIcon', collapseIcon);
|
||||
handleCollapseClick(collapseIcon, plugin, yaml, pathBlacklist, source, folderOverview, child);
|
||||
}
|
||||
}
|
||||
|
|
@ -229,7 +228,7 @@ function createFolderEL(plugin: FolderNotesPlugin, child: TFolder, folderOvervie
|
|||
text: child.name,
|
||||
});
|
||||
|
||||
if (folderTitleText) {
|
||||
if (folderTitleText && !folderNote) {
|
||||
folderTitleText.onclick = () => {
|
||||
const collapseIcon = folderTitle?.querySelectorAll('.tree-item-icon')[0] as HTMLElement;
|
||||
if (collapseIcon) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue