We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
._toggleClass()
1 parent 1fdc56d commit 5d7e8b1Copy full SHA for 5d7e8b1
ui/widgets/button.js
@@ -238,7 +238,7 @@ $.widget( "ui.button", {
238
239
// Make sure we can't end up with a button that has neither text nor icon
240
if ( key === "showLabel" ) {
241
- this._toggleClass( this._classes( "ui-button-icon-only" ), null, !value );
+ this._toggleClass( "ui-button-icon-only", null, !value );
242
this._updateTooltip();
243
}
244
0 commit comments