some refactorings of note detail service

This commit is contained in:
azivner
2018-03-26 23:48:45 -04:00
parent 9c1b8da573
commit 7e856283ee
7 changed files with 103 additions and 89 deletions

View File

@@ -92,7 +92,7 @@ function addTextToEditor(text) {
// of opening the link in new window/tab
$(document).on('click', "a[action='note']", goToLink);
$(document).on('click', 'div.popover-content a, div.ui-tooltip-content a', goToLink);
$(document).on('dblclick', '#note-detail a', goToLink);
$(document).on('dblclick', '#note-detail-text a', goToLink);
export default {
getNodePathFromLabel,