diff --git a/src/core.js b/src/core.js index d617723..4487af7 100644 --- a/src/core.js +++ b/src/core.js @@ -1143,7 +1143,7 @@ $.extend( $.validator, { if ( this.checkable( element ) ) { return this.getLength( value, element ) > 0; } - return $.trim( value ).length > 0; + return value.length > 0; }, // http://jqueryvalidation.org/email-method/ diff --git a/test/index.html b/test/index.html index cf82768..408c3d1 100644 --- a/test/index.html +++ b/test/index.html @@ -203,7 +203,7 @@