Skip to content

Commit

Permalink
fix(module:checkbox): fix checkbox host class lost bug (#116)
Browse files Browse the repository at this point in the history
close #104
  • Loading branch information
giscafer authored and vthinkxie committed Aug 22, 2017
1 parent 15f6aad commit 81cbae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/checkbox/nz-checkbox.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ export class NzCheckboxComponent implements OnInit, ControlValueAccessor {
}

ngOnInit() {
this._render.setAttribute(this._el, 'class', `${this._prefixCls}-wrapper`);
this._render.addClass(this._el, `${this._prefixCls}-wrapper`);
}
}

0 comments on commit 81cbae9

Please sign in to comment.