back out more aggressive validation

This commit is contained in:
carson 2021-03-06 10:01:47 -07:00
parent 24b854723b
commit 3325a9e6ab

View File

@ -1665,7 +1665,7 @@ return (function () {
var errors = [];
// only validate when form is directly submitted and novalidate is not set
var validate = (matches(elt, 'form') || closest(elt, 'form')) && elt.noValidate !== true;
var validate = matches(elt, 'form') && elt.noValidate !== true;
// for a non-GET include the closest form
if (verb !== 'get') {