aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.accordion.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-04-02 19:42:19 +0200
committerFelix Nagel <info@felixnagel.com>2013-04-02 19:42:19 +0200
commit73c7342bc4418a902bf021c89e7d2c43172e004e (patch)
tree1c4d622cc91c2cfb76a0ee1e5977ac2b03799551 /ui/jquery.ui.accordion.js
parent26c528a4a3b712760792c62b005307a2fe0f6ba6 (diff)
parent09b3533910e887377fc87126608db1ded06f38f6 (diff)
downloadjquery-ui-73c7342bc4418a902bf021c89e7d2c43172e004e.tar.gz
jquery-ui-73c7342bc4418a902bf021c89e7d2c43172e004e.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r--ui/jquery.ui.accordion.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js
index c210a29a9..fc2b6bc57 100644
--- a/ui/jquery.ui.accordion.js
+++ b/ui/jquery.ui.accordion.js
@@ -223,7 +223,7 @@ $.widget( "ui.accordion", {
options.active = false;
this.active = $();
// active false only when collapsible is true
- } if ( options.active === false ) {
+ } else if ( options.active === false ) {
this._activate( 0 );
// was active, but active panel is gone
} else if ( this.active.length && !$.contains( this.element[ 0 ], this.active[ 0 ] ) ) {