mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
small improvements and fixes
This commit is contained in:
@@ -45,7 +45,7 @@ async function mouseEnterHandler() {
|
||||
const note = await treeCache.getNote(noteId);
|
||||
const noteComplement = await treeCache.getNoteComplement(noteId);
|
||||
|
||||
const html = await renderTooltip(note, noteComplement);
|
||||
const html = '<div class="note-tooltip-content">' + await renderTooltip(note, noteComplement) + '</div>';
|
||||
|
||||
// we need to check if we're still hovering over the element
|
||||
// since the operation to get tooltip content was async, it is possible that
|
||||
@@ -144,4 +144,4 @@ async function renderTooltip(note, noteComplement) {
|
||||
export default {
|
||||
setupGlobalTooltip,
|
||||
setupElementTooltip
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user