mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
always use template strings instead of string concatenation
This commit is contained in:
@@ -69,7 +69,7 @@ function renderText(result, note) {
|
||||
|
||||
if (linkedNote) {
|
||||
linkEl.setAttribute("href", linkedNote.shareId);
|
||||
linkEl.classList.add("type-" + linkedNote.type);
|
||||
linkEl.classList.add(`type-${linkedNote.type}`);
|
||||
} else {
|
||||
linkEl.removeAttribute("href");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user