Skip to content

Commit 41872c0

Browse files
committed
2 parents 400698e + c537275 commit 41872c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

form-validator/jquery.form-validator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@
511511
if( !val )
512512
return [];
513513
var values = [];
514-
$.each(val.split(func ? func: /[,|-\s]\s*/g ),
514+
$.each(val.split(func ? func: /[,|\-\s]\s*/g ),
515515
function(i,str) {
516516
str = $.trim(str);
517517
if( str.length )
@@ -521,7 +521,7 @@
521521
return values;
522522
} else if( val ) {
523523
// exec callback func on each
524-
$.each(val.split(/[,|-\s]\s*/g),
524+
$.each(val.split(/[,|\-\s]\s*/g),
525525
function(i, str) {
526526
str = $.trim(str);
527527
if( str.length )

0 commit comments

Comments
 (0)