include icon into reference links

This commit is contained in:
zadam
2022-09-24 22:38:20 +02:00
parent ce7937a3a3
commit d905f7cc26
2 changed files with 8 additions and 0 deletions

View File

@@ -163,6 +163,8 @@ async function loadReferenceLinkTitle(noteId, $el) {
}
$el.text(title);
$el.prepend($("<span>").addClass(note.getIcon()));
}
$(document).on('click', "a", goToLink);