File tree Expand file tree Collapse file tree 6 files changed +11
-5
lines changed Expand file tree Collapse file tree 6 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*!
2
- * validate v1.4.0 : A lightweight form validation script that augments native HTML5 form validation elements and attributes.
2
+ * validate v1.4.1 : A lightweight form validation script that augments native HTML5 form validation elements and attributes.
3
3
* (c) 2018 Chris Ferdinandi
4
4
* MIT License
5
5
* http://github.com/cferdinandi/validate
540
540
if ( ! hasErrors ) {
541
541
hasErrors = fields [ i ] ;
542
542
}
543
+ } else {
544
+ validate . removeError ( fields [ i ] ) ;
543
545
}
544
546
}
545
547
Original file line number Diff line number Diff line change 1
1
/*!
2
- * validate v1.4.0 : A lightweight form validation script that augments native HTML5 form validation elements and attributes.
2
+ * validate v1.4.1 : A lightweight form validation script that augments native HTML5 form validation elements and attributes.
3
3
* (c) 2018 Chris Ferdinandi
4
4
* MIT License
5
5
* http://github.com/cferdinandi/validate
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " validate" ,
3
- "version" : " 1.4.0 " ,
3
+ "version" : " 1.4.1 " ,
4
4
"description" : " A lightweight form validation script that augments native HTML5 form validation elements and attributes." ,
5
5
"main" : " ./dist/js/validate.js" ,
6
6
"author" : {
Original file line number Diff line number Diff line change 533
533
if ( ! hasErrors ) {
534
534
hasErrors = fields [ i ] ;
535
535
}
536
+ } else {
537
+ validate . removeError ( fields [ i ] ) ;
536
538
}
537
539
}
538
540
Original file line number Diff line number Diff line change 1
1
/*!
2
- * validate v1.4.0 : A lightweight form validation script that augments native HTML5 form validation elements and attributes.
2
+ * validate v1.4.1 : A lightweight form validation script that augments native HTML5 form validation elements and attributes.
3
3
* (c) 2018 Chris Ferdinandi
4
4
* MIT License
5
5
* http://github.com/cferdinandi/validate
540
540
if ( ! hasErrors ) {
541
541
hasErrors = fields [ i ] ;
542
542
}
543
+ } else {
544
+ validate . removeError ( fields [ i ] ) ;
543
545
}
544
546
}
545
547
Original file line number Diff line number Diff line change 1
1
/*!
2
- * validate v1.4.0 : A lightweight form validation script that augments native HTML5 form validation elements and attributes.
2
+ * validate v1.4.1 : A lightweight form validation script that augments native HTML5 form validation elements and attributes.
3
3
* (c) 2018 Chris Ferdinandi
4
4
* MIT License
5
5
* http://github.com/cferdinandi/validate
You can’t perform that action at this time.
0 commit comments