doubleclick on the link to note will go there

pull/255/head
azivner 2017-10-05 20:08:15 +07:00
parent d5320bff0f
commit 3a60feae4d
1 changed files with 4 additions and 0 deletions

@ -66,6 +66,10 @@ $(document).on('click', 'div.popover-content a', function(e) {
goToInternalNote(e);
});
$(document).on('dblclick', '.note-editable a', function(e) {
goToInternalNote(e);
});
function goToInternalNote(e, callback) {
const targetUrl = $(e.target).attr("href");