diff options
author | Scott González <scott.gonzalez@gmail.com> | 2015-10-26 16:58:46 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-10-26 16:58:49 -0400 |
commit | 5d7e8b1824416f013339f5ba55169f1bcd5bd46c (patch) | |
tree | dfd048822a246a28017b0077e89a98b2a73fe0d1 /ui | |
parent | 1fdc56d1de2ce1c54ec9f3bba7da145c8464b5fa (diff) | |
download | jquery-ui-5d7e8b1824416f013339f5ba55169f1bcd5bd46c.tar.gz jquery-ui-5d7e8b1824416f013339f5ba55169f1bcd5bd46c.zip |
Button: Fix call to `._toggleClass()`
Diffstat (limited to 'ui')
-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(); } |