mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	context menu cleanup
This commit is contained in:
		| @@ -141,7 +141,8 @@ async function getContextMenuItems(event) { | ||||
| } | ||||
|  | ||||
| function selectContextMenuItem(event, cmd) { | ||||
|     const node = $.ui.fancytree.getNode(event); | ||||
|     // context menu is always triggered on current node | ||||
|     const node = treeService.getCurrentNode(); | ||||
|  | ||||
|     if (cmd === "insertNoteHere") { | ||||
|         const parentNoteId = node.data.parentNoteId; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user