summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md3
-rw-r--r--client/components/cards/cardDetails.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1f269401..0593a080 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,7 +7,8 @@ This release adds the following new features:
and fixes the following bugs:
* [Board list with long-description boards not visible](https://github.com/wekan/wekan/pull/1346);
-* [Remove erroneous minicard title whitespace](https://github.com/wekan/wekan/pull/1347).
+* [Remove erroneous minicard title whitespace](https://github.com/wekan/wekan/pull/1347);
+* [Card details: fix title editing with shift key](https://github.com/wekan/wekan/pull/1348).
Thanks to GitHub users couscous3, GhassenRjab and thuanpq for their contributions.
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js
index f13404a5..c5b2fcdc 100644
--- a/client/components/cards/cardDetails.js
+++ b/client/components/cards/cardDetails.js
@@ -200,7 +200,7 @@ Template.editCardTitleForm.events({
'keydown .js-edit-card-title' (evt) {
// If enter key was pressed, submit the data
// Unless the shift key is also being pressed
- if (evt.keyCode === 13 && !event.shiftKey) {
+ if (evt.keyCode === 13 && !evt.shiftKey) {
$('.js-submit-edit-card-title-form').click();
}
},