Skip to content
Snippets Groups Projects
Commit f0c4d69d authored by rhenck's avatar rhenck
Browse files

Refactor button element to stop preventing event bubbling

The problem that was to be solved is that buttons within a form always 
cause form validation for all form elements. Which is not wanted here.
The better solution than preventing all event is to simply declare the 
button type. As button without any type are treated as submit buttons.
parent 86d9a03e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment