mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
fixes for relative paths
This commit is contained in:
@@ -122,7 +122,7 @@ async function renderTooltip(note, attributes) {
|
||||
}
|
||||
else if (note.type === 'image') {
|
||||
content += $("<img>")
|
||||
.prop("src", `/api/images/${note.noteId}/${note.title}`)
|
||||
.prop("src", `api/images/${note.noteId}/${note.title}`)
|
||||
.prop('outerHTML');
|
||||
}
|
||||
// other types of notes don't have tooltip preview
|
||||
|
||||
Reference in New Issue
Block a user