mirror of
https://github.com/lostpaul/obsidian-folder-notes.git
synced 2026-07-22 07:40:24 +00:00
Fix for
This commit is contained in:
parent
19f8a91569
commit
be4df08e7e
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ export async function handleViewHeaderClick(event: MouseEvent, plugin: FolderNot
|
|||
|
||||
export async function handleFolderClick(event: MouseEvent, plugin: FolderNotesPlugin) {
|
||||
if (!(event.target instanceof HTMLElement)) return;
|
||||
if (!event || !event.target) return;
|
||||
event.stopImmediatePropagation();
|
||||
|
||||
const folderPath = event.target.parentElement?.getAttribute('data-path');
|
||||
|
|
|
|||
Loading…
Reference in a new issue