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);

View file

@ -961,3 +961,9 @@ button.close:hover {
.hidden-no-content {
display: none;
}
.reference-link .bx {
position: relative;
top: 1px;
margin-right: 3px;
}