mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-14 20:35:47 +01:00
committed by
Jörn Zaefferer
parent
c5ac242eef
commit
e371d3f72e
@@ -278,7 +278,7 @@ $.extend( $.validator, {
|
||||
38, 39, 40, 45, 144, 225
|
||||
];
|
||||
|
||||
if ( event.which === 9 && this.elementValue( element ) === "" || excludedKeys.indexOf( event.keyCode ) !== -1 ) {
|
||||
if ( event.which === 9 && this.elementValue( element ) === "" || $.inArray( event.keyCode, excludedKeys ) !== -1 ) {
|
||||
return;
|
||||
} else if ( element.name in this.submitted || element === this.lastElement ) {
|
||||
this.element( element );
|
||||
|
||||
Reference in New Issue
Block a user