compose-form-up
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -47,3 +47,3 @@ // Dependencies | ||
// Scoped variables | ||
var inputs = form.querySelectorAll( '[required]' ), | ||
var inputs = form.querySelectorAll( ':not([disabled]) [required]' ), | ||
invalidInput; | ||
@@ -53,4 +53,4 @@ | ||
// if visible and invalid | ||
if ( input.offsetParent !== null && !checkInput( input ) ) { | ||
// if invalid | ||
if ( !checkInput( input ) ) { | ||
invalidInput = input | ||
@@ -57,0 +57,0 @@ return true |
{ | ||
"name": "compose-form-up", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "A lightweight HTML5 form validation utility", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
23082