fixes for relative paths

This commit is contained in:
zadam
2019-02-22 23:03:20 +01:00
parent cf5ec44303
commit b25deea21d
7 changed files with 8 additions and 7 deletions

View File

@@ -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