mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Accordion: Properly set corner classes on refresh. Fixes #8995 - Accordion: Corner display issues.
This commit is contained in:
parent
a63c0910a6
commit
673c6558e0
4
ui/jquery.ui.accordion.js
vendored
4
ui/jquery.ui.accordion.js
vendored
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user