From 562a07135069b72347f3372303cf8f4c8bd5838d Mon Sep 17 00:00:00 2001 From: azivner Date: Wed, 11 Oct 2017 19:59:49 -0400 Subject: [PATCH] escape now closes recent notes (as works in other dialogs) --- static/js/recent_notes.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/recent_notes.js b/static/js/recent_notes.js index 7506c2d85..02586f93c 100644 --- a/static/js/recent_notes.js +++ b/static/js/recent_notes.js @@ -88,6 +88,9 @@ $('#recent-notes-select-box').keydown(e => { else if (key === 76 /* l */) { addLinkBasedOnRecentNotes(); } + else { + return; // avoid prevent default + } e.preventDefault(); });