Remove keyup event listener for forms

Let the browser take care of when to do implicit submission.
This commit is contained in:
Behind The Math
2018-11-11 17:09:49 -05:00
parent 52fb3bf938
commit e577c53070
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))
}