Skip to content
Permalink
Browse files

Accordion: Removed ui-accordion-li-fix class; I couldn't find instanc…

…es where this caused a problem in IE. Fixed #6892 - Accordion: broken animation in Chrome.
  • Loading branch information...
scottgonzalez committed Jan 31, 2011
1 parent fe6990e commit c58012364b495ef50aa8bfcb35fcede079983fdf
Showing with 1 addition and 7 deletions.
  1. +0 −1 themes/base/jquery.ui.accordion.css
  2. +1 −6 ui/jquery.ui.accordion.js
@@ -10,7 +10,6 @@
/* IE/Win - Fix animation bug - #4615 */
.ui-accordion { width: 100%; }
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
.ui-accordion .ui-accordion-li-fix { display: inline; }
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
.ui-accordion .ui-accordion-heading { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
.ui-accordion-icons .ui-accordion-heading { padding-left: 2.2em; }
@@ -33,12 +33,7 @@ $.widget( "ui.accordion", {

self.running = 0;

self.element
.addClass( "ui-accordion ui-widget ui-helper-reset" )
// in lack of child-selectors in CSS
// we need to mark top-LIs in a UL-accordion for some IE-fix
.children( "li" )
.addClass( "ui-accordion-li-fix" );
self.element.addClass( "ui-accordion ui-widget ui-helper-reset" );

self.headers = self.element.find( options.header )
.addClass( "ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" )

0 comments on commit c580123

Please sign in to comment.
You can’t perform that action at this time.