summaryrefslogtreecommitdiffstats
path: root/client/lib/escapeActions.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/lib/escapeActions.js')
-rw-r--r--client/lib/escapeActions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/lib/escapeActions.js b/client/lib/escapeActions.js
index 3759f441..5d8a1f25 100644
--- a/client/lib/escapeActions.js
+++ b/client/lib/escapeActions.js
@@ -151,7 +151,8 @@ Mousetrap.bindGlobal('esc', function() {
// close the popup). We don't execute any action if the user has clicked on a
// link or a button.
$(document).on('click', function(evt) {
- if (evt.which === 1 && $(evt.target).closest('a,button').length === 0) {
+ if (evt.which === 1 &&
+ $(evt.target).closest('a,button,.is-editable').length === 0) {
EscapeActions.clickExecute(evt, 'detailsPane');
}
});