You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you press enter on an input inside of a form, the browser fires a submit event on the form, and also fires a click event on the first submit button of the form, if there is one. <button> elements default to type "submit" if a type is not specified.
This behavior is illustrated in this jsfiddle: http://jsfiddle.net/dkordik/y25r4qnp/Closesbitovi#65
Also, elements default to type "submit" if unspecified.
Illustrated in this jsfiddle: http://jsfiddle.net/dkordik/y25r4qnp/
I have a pull request to fix this incoming
The text was updated successfully, but these errors were encountered: