Skip to content

Commit

Permalink
fix(button): normalize generated button class names
Browse files Browse the repository at this point in the history
Addresses #5938.
  • Loading branch information
tlancina committed Mar 24, 2016
1 parent ba6f92b commit 5f621ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ionic/components/button/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export class Button {
*/
private _setClass(type: string, assignCssClass: boolean) {
if (type && this._init) {
this._renderer.setElementClass(this._elementRef.nativeElement, this._role + '-' + type, assignCssClass);
this._renderer.setElementClass(this._elementRef.nativeElement, this._role + '-' + type.toLowerCase(), assignCssClass);
}
}

Expand Down

0 comments on commit 5f621ab

Please sign in to comment.