From 9e1974720931ee327d4c7c03ebb57e6e0fa9ecc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 20 Sep 2010 14:56:17 -0400 Subject: [PATCH] Accordion: Don't pass multiple classes to .toggleClass(). Fixes #6084 - Accordion: 1.8.5 not fully compatible with core 1.3.2. --- ui/jquery.ui.accordion.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index 216a32668..96a69d4f3 100644 --- a/ui/jquery.ui.accordion.js +++ b/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();