fix opening links from book

This commit is contained in:
zadam 2019-10-06 12:33:47 +02:00
parent 7423b2f4fd
commit 8859e2ac40
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -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.'))
}