Skip to content

Commit

Permalink
fix(phone): phone mask should TRY to work with numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
the-darc committed May 15, 2015
1 parent 16f19d5 commit 5856331
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/phone.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ var PHONE = function(value) {
}

var formatedValue;
value = value + '';
if(value.length < 11){
formatedValue = phoneMask8D.apply(value);
}else{
Expand Down

0 comments on commit 5856331

Please sign in to comment.