mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
escape now closes recent notes (as works in other dialogs)
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user