summaryrefslogtreecommitdiffstats
path: root/client/lib
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-06-11 12:35:08 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-06-11 12:35:08 +0200
commit216887490e3be0ba141484afc11d37475e91562d (patch)
treeb1ba81dc991f06966713864525f6f993d3fa9e90 /client/lib
parent765b0168eaaeb28550dfb698de0b6cec9f9c2113 (diff)
downloadwekan-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.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');
}
});