Remove keyup event listener for forms (#184)

Let the browser take care of when to do implicit submission.
This commit was merged in pull request #184.
This commit is contained in:
BehindTheMath
2018-11-20 21:17:54 -05:00
committed by GitHub
parent 52fb3bf938
commit fefb63ae87
2 changed files with 0 additions and 30 deletions

View File

@@ -120,10 +120,4 @@ module.exports = function(el) {
on(el, "submit", function(event) {
formAction.call(that, el, event)
})
on(el, "keyup", function(event) {
if (event.keyCode === 13) {
formAction.call(that, el, event)
}
}.bind(this))
}