Skip to content

Commit

Permalink
Fix README typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusPoliCamilo authored and yairEO committed Mar 20, 2023
1 parent 818a107 commit 71b8c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -787,7 +787,7 @@ tagify.on('keydown', onTagifyKeyDown)
function onTagifyKeyDown(e){
if( e.key == 'Enter' && // "enter" key pressed
!tagify.state.inputText && // assuming user is not in the middle oy adding a tag
!tagify.state.inputText && // assuming user is not in the middle or adding a tag
!tagify.state.editing // user not editing a tag
){
setTimeout(() => formElm.submit()) // put some buffer to make sure tagify has done with whatever, to be on the safe-side
Expand Down

0 comments on commit 71b8c8e

Please sign in to comment.