Accordion: Removed ui-accordion-li-fix class; I couldn't find instances where this caused a problem in IE. Fixed #6892 - Accordion: broken animation in Chrome.

This commit is contained in:
Scott González 2011-01-31 08:50:17 -05:00
parent fe6990e104
commit c58012364b
2 changed files with 1 additions and 7 deletions

View File

@ -10,7 +10,6 @@
/* IE/Win - Fix animation bug - #4615 */ /* IE/Win - Fix animation bug - #4615 */
.ui-accordion { width: 100%; } .ui-accordion { width: 100%; }
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } .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-header-active { border-bottom: 0 !important; }
.ui-accordion .ui-accordion-heading { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } .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; } .ui-accordion-icons .ui-accordion-heading { padding-left: 2.2em; }

View File

@ -33,12 +33,7 @@ $.widget( "ui.accordion", {
self.running = 0; self.running = 0;
self.element self.element.addClass( "ui-accordion ui-widget ui-helper-reset" );
.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.headers = self.element.find( options.header ) self.headers = self.element.find( options.header )
.addClass( "ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" ) .addClass( "ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" )