From 216887490e3be0ba141484afc11d37475e91562d Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Thu, 11 Jun 2015 12:35:08 +0200 Subject: Fix card title edition Closes #184 --- client/lib/escapeActions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/lib/escapeActions.js') 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'); } }); -- cgit v1.2.3-1-g7c22