added "note color"

This commit is contained in:
zadam
2022-09-25 14:19:30 +02:00
parent a9c0daa51a
commit 1d26fd6bf0
6 changed files with 44 additions and 2 deletions

View File

@@ -162,6 +162,7 @@ async function loadReferenceLinkTitle(noteId, $el) {
title = note.isDeleted ? `${note.title} (deleted)` : note.title;
}
$el.addClass(note.getColorClass());
$el.text(title);
$el.prepend($("<span>").addClass(note.getIcon()));