Permalink
Browse files

Accordion: Don't pass multiple classes to .toggleClass(). Fixes #6084…

… - Accordion: 1.8.5 not fully compatible with core 1.3.2.
  • Loading branch information...
1 parent 47e312b commit 9e1974720931ee327d4c7c03ebb57e6e0fa9ecc7 @scottgonzalez scottgonzalez committed Sep 20, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 ui/jquery.ui.accordion.js
@@ -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();

0 comments on commit 9e19747

Please sign in to comment.