mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Accordion: Don't pass multiple classes to .toggleClass(). Fixes #6084 - Accordion: 1.8.5 not fully compatible with core 1.3.2.
This commit is contained in:
parent
47e312b238
commit
9e19747209
3
ui/jquery.ui.accordion.js
vendored
3
ui/jquery.ui.accordion.js
vendored
@ -92,7 +92,8 @@ $.widget( "ui.accordion", {
|
||||
|
||||
self.active = self._findActive( self.active || options.active )
|
||||
.addClass( "ui-state-default ui-state-active" )
|
||||
.toggleClass( "ui-corner-all ui-corner-top" );
|
||||
.toggleClass( "ui-corner-all" )
|
||||
.toggleClass( "ui-corner-top" );
|
||||
self.active.next().addClass( "ui-accordion-content-active" );
|
||||
|
||||
self._createIcons();
|
||||
|
Loading…
Reference in New Issue
Block a user