fixed clicking on links in read only view

This commit is contained in:
zadam
2020-05-11 19:38:14 +02:00
parent 64c9734f05
commit b365c186a1
3 changed files with 3 additions and 696 deletions

View File

@@ -155,7 +155,8 @@ $(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,.note-detail-text a.reference-link', goToLink);
$(document).on('mousedown', '.note-detail-text a.reference-link', goToLink);
$(document).on('mousedown', 'note-detail-readonly-text a', goToLink);
$(document).on('mousedown', 'a.ck-link-actions__preview', goToLink);
$(document).on('click', 'a.ck-link-actions__preview', e => {
e.preventDefault();
@@ -172,4 +173,4 @@ export default {
getNotePathFromUrl,
createNoteLink,
goToLink
};
};