mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix opening links from book
This commit is contained in:
parent
7423b2f4fd
commit
8859e2ac40
@ -163,6 +163,7 @@ $(document).on('mousedown', '.note-detail-text a', function (e) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on('mousedown', '.note-detail-book a', goToLink);
|
||||||
$(document).on('mousedown', '.note-detail-render a', goToLink);
|
$(document).on('mousedown', '.note-detail-render a', goToLink);
|
||||||
$(document).on('mousedown', '.note-detail-text.ck-read-only a', goToLink);
|
$(document).on('mousedown', '.note-detail-text.ck-read-only a', goToLink);
|
||||||
$(document).on('mousedown', 'span.ck-button__label', e => {
|
$(document).on('mousedown', 'span.ck-button__label', e => {
|
||||||
|
@ -116,7 +116,7 @@ class NoteDetailBook {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.$content.append($('<div class="note-book-auto-message"></div>')
|
this.$content.append($('<div class="note-book-auto-message"></div>')
|
||||||
.append(`This note doesn't have any content so we display it's children. Click `)
|
.append(`This note doesn't have any content so we display its children. Click `)
|
||||||
.append($addTextLink)
|
.append($addTextLink)
|
||||||
.append(' if you want to add some text.'))
|
.append(' if you want to add some text.'))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user