Permalink
Browse files

Merge branch 'master' into key-event-refactoring

  • Loading branch information...
2 parents 378de15 + 011748c commit c8f52b317cf4edd1ec6e4747c8d7a7e715ee98d8 @digitalBush digitalBush committed Feb 10, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/jquery.maskedinput.js
View
3 src/jquery.maskedinput.js
@@ -202,9 +202,8 @@
};
input.data($.mask.dataName,function(){
- var pos=checkVal(true);
return $.map(buffer, function(c, i) {
- return tests[i]&&i<pos ? c : null;
+ return tests[i]&&c!=settings.placeholder ? c : null;
}).join('');
})

0 comments on commit c8f52b3

Please sign in to comment.