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:
Scott González 2010-09-20 14:56:17 -04:00
parent 47e312b238
commit 9e19747209

View File

@ -92,7 +92,8 @@ $.widget( "ui.accordion", {
self.active = self._findActive( self.active || options.active ) self.active = self._findActive( self.active || options.active )
.addClass( "ui-state-default ui-state-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.active.next().addClass( "ui-accordion-content-active" );
self._createIcons(); self._createIcons();