Button: Typos

This commit is contained in:
Alexander Schmitz 2015-09-30 11:46:52 -04:00
parent 754e041cbd
commit add78440f8

View File

@ -121,7 +121,9 @@ $.widget( "ui.button", {
},
_enhance: function() {
if ( !this.element.is( "button" ) ) {
this.element.attr( "role", "button" );
}
if ( this.options.icon ) {
this._updateIcon( "icon", this.options.icon );