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 authored and GitHub committed 2018-11-20 21:17:54 -05:00
1 parent 52fb3bf938
commit fefb63ae87
2 files changed
-30

No files matched your search

-6
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))
}