mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
escape now closes recent notes (as works in other dialogs)
This commit is contained in:
parent
c3462a3d0e
commit
562a071350
@ -88,6 +88,9 @@ $('#recent-notes-select-box').keydown(e => {
|
|||||||
else if (key === 76 /* l */) {
|
else if (key === 76 /* l */) {
|
||||||
addLinkBasedOnRecentNotes();
|
addLinkBasedOnRecentNotes();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
return; // avoid prevent default
|
||||||
|
}
|
||||||
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user