mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Button: Fix call to ._toggleClass()
This commit is contained in:
parent
1fdc56d1de
commit
5d7e8b1824
@ -238,7 +238,7 @@ $.widget( "ui.button", {
|
||||
|
||||
// Make sure we can't end up with a button that has neither text nor icon
|
||||
if ( key === "showLabel" ) {
|
||||
this._toggleClass( this._classes( "ui-button-icon-only" ), null, !value );
|
||||
this._toggleClass( "ui-button-icon-only", null, !value );
|
||||
this._updateTooltip();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user