Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed issue with button type=submit that contains html #137
If button have some HTML inside, like
If button have some HTML inside, like <i class="icon icon-send"></i> and user click on I instead of button, nette thinks there is no submittedBy button, that is not true, as <i> have parent button element, so we need to go thru DOM tree, to check if the button isnt parent of clicked element.