aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.accordion.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-09-20 14:56:17 -0400
committerScott González <scott.gonzalez@gmail.com>2010-09-20 14:56:17 -0400
commit9e1974720931ee327d4c7c03ebb57e6e0fa9ecc7 (patch)
treeffa964c1eca18f65fe12becf769dd57ecf5b42f0 /ui/jquery.ui.accordion.js
parent47e312b238453c6dae1e15e2828dfd27b8079408 (diff)
downloadjquery-ui-9e1974720931ee327d4c7c03ebb57e6e0fa9ecc7.tar.gz
jquery-ui-9e1974720931ee327d4c7c03ebb57e6e0fa9ecc7.zip
Accordion: Don't pass multiple classes to .toggleClass(). Fixes #6084 - Accordion: 1.8.5 not fully compatible with core 1.3.2.
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r--ui/jquery.ui.accordion.js3
1 files changed, 2 insertions, 1 deletions
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();