Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Creating the new checkbox markup:
- var checkBox = $('<span>',{
- "class" : "tzCheckBox "+(this.checked?'checked':''),
- "html": "<span class='tzCBContent'>"+labels[this.checked?0:1]+
- "</span><span class='tzCBPart'></span>"
- });
- TO THIS:
- // Creating the new checkbox markup:
- var checkBox = $('<span>',{
- "class" : $(this).attr('class') + " tzCheckBox "+(this.checked?'checked':''),
- "html": "<span class='tzCBContent'>"+labels[this.checked?0:1]+
- "</span><span class='tzCBPart'></span>"
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement