Open GoogleCodeExporter opened 9 years ago
Corrected by adding line 5:
$.fn.mask = function(label, delay){
$(this).each(function() {
if(delay !== undefined && delay > 0) {
var element = $(this);
$.unmaskElement($(this));
element.data("_mask_timeout", setTimeout(function() { $.maskElement(element, label)}, delay));
} else {
$.maskElement($(this), label);
}
});
};
Original comment by Palan...@gmail.com
on 3 Aug 2012 at 12:02
$.unmaskElement(element);
sorry ^^
Original comment by Palan...@gmail.com
on 3 Aug 2012 at 12:02
Original issue reported on code.google.com by
Palan...@gmail.com
on 3 Aug 2012 at 10:11