mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
fix opening links from book
This commit is contained in:
@@ -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-text.ck-read-only a', goToLink);
|
||||
$(document).on('mousedown', 'span.ck-button__label', e => {
|
||||
|
||||
@@ -116,7 +116,7 @@ class NoteDetailBook {
|
||||
});
|
||||
|
||||
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(' if you want to add some text.'))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user