mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
refactorings in relation map related to noteId handling and storage
This commit is contained in:
@@ -49,9 +49,12 @@ function setupTooltip() {
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("mouseleave", "a", async function() {
|
||||
$(document).on("mouseleave", "a", function() {
|
||||
$(this).tooltip('hide');
|
||||
});
|
||||
|
||||
// close any tooltip after click, this fixes the problem that sometimes tooltips remained on the screen
|
||||
$(document).on("click", () => $('[rel=tooltip]').tooltip("hide"));
|
||||
}
|
||||
|
||||
async function renderTooltip(note, attributes) {
|
||||
|
||||
Reference in New Issue
Block a user