diff options
Diffstat (limited to 'ui/widgets/button.js')
-rw-r--r-- | ui/widgets/button.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/widgets/button.js b/ui/widgets/button.js index 2362a3b22..50da9f9e2 100644 --- a/ui/widgets/button.js +++ b/ui/widgets/button.js @@ -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(); } |