mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
revert tiny change on input event keydown <-> keyup
This commit is contained in:
parent
b36920e657
commit
1c4b54d1ad
1 changed files with 1 additions and 3 deletions
|
@ -23,9 +23,7 @@ BlazeComponent.extendComponent({
|
|||
this.data().setDescription(description);
|
||||
},
|
||||
// Pressing Ctrl+Enter should submit the form
|
||||
// was keydown
|
||||
// extraevent for saving input. buffer of keydown vs buffer time
|
||||
'keyup form textarea'(evt) {
|
||||
'keydown form textarea'(evt) {
|
||||
if (evt.keyCode === 13 && (evt.metaKey || evt.ctrlKey)) {
|
||||
const submitButton = this.find('button[type=submit]');
|
||||
if (submitButton) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue