aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.accordion.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-01-22 08:56:38 -0500
committerScott González <scott.gonzalez@gmail.com>2013-01-22 08:56:38 -0500
commit673c6558e01dd8a5423ec21bf40d6efe443580d2 (patch)
tree843680eb8366b261299bb546e82a7423305543e8 /ui/jquery.ui.accordion.js
parenta63c0910a6ebcc45ae2c0af7a5ae0840d4eab903 (diff)
downloadjquery-ui-673c6558e01dd8a5423ec21bf40d6efe443580d2.tar.gz
jquery-ui-673c6558e01dd8a5423ec21bf40d6efe443580d2.zip
Accordion: Properly set corner classes on refresh. Fixes #8995 - Accordion: Corner display issues.
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r--ui/jquery.ui.accordion.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js
index 8050e55ab..d8faa0e9f 100644
--- a/ui/jquery.ui.accordion.js
+++ b/ui/jquery.ui.accordion.js
@@ -262,8 +262,8 @@ $.widget( "ui.accordion", {
(this.element.attr( "id" ) || ++uid);
this.active = this._findActive( options.active )
- .addClass( "ui-accordion-header-active ui-state-active" )
- .toggleClass( "ui-corner-all ui-corner-top" );
+ .addClass( "ui-accordion-header-active ui-state-active ui-corner-top" )
+ .removeClass( "ui-corner-all" );
this.active.next()
.addClass( "ui-accordion-content-active" )
.show();