Skip to content

Commit

Permalink
Button: Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
arschmitz committed Oct 8, 2015
1 parent 754e041 commit add7844
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/widgets/button.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ $.widget( "ui.button", {
}, },


_enhance: function() { _enhance: function() {
this.element.attr( "role", "button" ); if ( !this.element.is( "button" ) ) {
this.element.attr( "role", "button" );
}


if ( this.options.icon ) { if ( this.options.icon ) {
this._updateIcon( "icon", this.options.icon ); this._updateIcon( "icon", this.options.icon );
Expand Down

0 comments on commit add7844

Please sign in to comment.