diff options
Diffstat (limited to 'ui/widgets/accordion.js')
-rw-r--r-- | ui/widgets/accordion.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/widgets/accordion.js b/ui/widgets/accordion.js index 359b4c46f..a234c272f 100644 --- a/ui/widgets/accordion.js +++ b/ui/widgets/accordion.js @@ -239,7 +239,8 @@ return $.widget( "ui.accordion", { this._processPanels(); // Was collapsed or no panel - if ( ( options.active === false && options.collapsible === true ) || !this.headers.length ) { + if ( ( options.active === false && options.collapsible === true ) || + !this.headers.length ) { options.active = false; this.active = $(); |