diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-06-11 12:35:08 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-06-11 12:35:08 +0200 |
commit | 216887490e3be0ba141484afc11d37475e91562d (patch) | |
tree | b1ba81dc991f06966713864525f6f993d3fa9e90 /client/lib | |
parent | 765b0168eaaeb28550dfb698de0b6cec9f9c2113 (diff) | |
download | wekan-216887490e3be0ba141484afc11d37475e91562d.tar.gz wekan-216887490e3be0ba141484afc11d37475e91562d.tar.bz2 wekan-216887490e3be0ba141484afc11d37475e91562d.zip |
Fix card title edition
Closes #184
Diffstat (limited to 'client/lib')
-rw-r--r-- | client/lib/escapeActions.js | 3 |
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'); } }); |