summaryrefslogtreecommitdiffstats
path: root/client/components/cards
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-11-21 09:28:37 +0200
committerLauri Ojansivu <x@xet7.org>2017-11-21 09:28:37 +0200
commit8a4f5ed6e3b3e70f32da152b865b7c935d26f558 (patch)
tree644873fab06737fa8add6b2a5d64c3ff9fa4294d /client/components/cards
parentc8cef7551f9978829692a31fce8c50fe13950c37 (diff)
parent7dae37eeac636b3928833bbac159c5e911de81be (diff)
downloadwekan-8a4f5ed6e3b3e70f32da152b865b7c935d26f558.tar.gz
wekan-8a4f5ed6e3b3e70f32da152b865b7c935d26f558.tar.bz2
wekan-8a4f5ed6e3b3e70f32da152b865b7c935d26f558.zip
Merge branch 'fix-title-editing-shift-key-firefox' of https://github.com/couscous3/wekan into couscous3-fix-title-editing-shift-key-firefox
Diffstat (limited to 'client/components/cards')
-rw-r--r--client/components/cards/cardDetails.js2
1 files changed, 1 insertions, 1 deletions
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();
}
},