mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix(client): popup not displayed for existing attributes (closes #5718)
This commit is contained in:
		| @@ -426,7 +426,7 @@ export default class AttributeEditorWidget extends NoteContextAwareWidget implem | ||||
|             curNode = curNode.previousSibling; | ||||
|  | ||||
|             if ((curNode as ModelElement).name === "reference") { | ||||
|                 clickIndex += (curNode.getAttribute("notePath") as string).length + 1; | ||||
|                 clickIndex += (curNode.getAttribute("href") as string).length + 1; | ||||
|             } else if ("data" in curNode) { | ||||
|                 clickIndex += (curNode.data as string).length; | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user