mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-24 12:13:59 +01:00
JSCS: Move else to same line as curly
This commit is contained in:
@@ -263,9 +263,9 @@ $.extend($.validator, {
|
||||
// click on selects, radiobuttons and checkboxes
|
||||
if ( element.name in this.submitted ) {
|
||||
this.element(element);
|
||||
}
|
||||
|
||||
// or option elements, check parent select in that case
|
||||
else if ( element.parentNode.name in this.submitted ) {
|
||||
} else if ( element.parentNode.name in this.submitted ) {
|
||||
this.element(element.parentNode);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user