mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Button: Typos
This commit is contained in:
parent
754e041cbd
commit
add78440f8
@ -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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user