Skip to content

Commit ce3b5ed

Browse files
committed
Merge pull request #16 from Arkni/fix-example
Entries: Fixed the second example in normalizer's entry
2 parents 3bf4840 + 6bda8e1 commit ce3b5ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entries/normalizer.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ $( "#myform" ).validate( {
4646
url_input: {
4747
required: true,
4848
url: true,
49-
normalizer: function( element ) {
50-
var url = element.value;
49+
normalizer: function( value ) {
50+
var url = value;
5151
5252
// Check if it doesn't start with http:// or https:// or ftp://
5353
if ( url && url.substr( 0, 7 ) !== "http://"

0 commit comments

Comments
 (0)