mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 18:05:55 +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; |             curNode = curNode.previousSibling; | ||||||
|  |  | ||||||
|             if ((curNode as ModelElement).name === "reference") { |             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) { |             } else if ("data" in curNode) { | ||||||
|                 clickIndex += (curNode.data as string).length; |                 clickIndex += (curNode.data as string).length; | ||||||
|             } |             } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user