mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 17:21:23 +08:00
doubleclick on the link to note will go there
This commit is contained in:
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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue