From 3a60feae4dc0a08aff497708324a8a3ccbbadb63 Mon Sep 17 00:00:00 2001 From: azivner Date: Thu, 5 Oct 2017 20:08:15 -0400 Subject: [PATCH] doubleclick on the link to note will go there --- static/js/add_link.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/add_link.js b/static/js/add_link.js index 1b129561c..3be317d46 100644 --- a/static/js/add_link.js +++ b/static/js/add_link.js @@ -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");