Selaa lähdekoodia

Merge branch 'fix-title-editing-shift-key-firefox' of https://github.com/couscous3/wekan into couscous3-fix-title-editing-shift-key-firefox

Lauri Ojansivu 7 vuotta sitten
vanhempi
sitoutus
8a4f5ed6e3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      client/components/cards/cardDetails.js

+ 1 - 1
client/components/cards/cardDetails.js

@@ -200,7 +200,7 @@ Template.editCardTitleForm.events({
   'keydown .js-edit-card-title' (evt) {
   'keydown .js-edit-card-title' (evt) {
     // If enter key was pressed, submit the data
     // If enter key was pressed, submit the data
     // Unless the shift key is also being pressed
     // 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();
       $('.js-submit-edit-card-title-form').click();
     }
     }
   },
   },