]> source.dussan.org Git - jquery-ui.git/commitdiff
Accordion: Removed ui-accordion-li-fix class; I couldn't find instances where this...
authorScott González <scott.gonzalez@gmail.com>
Mon, 31 Jan 2011 13:50:17 +0000 (08:50 -0500)
committerScott González <scott.gonzalez@gmail.com>
Mon, 31 Jan 2011 13:50:17 +0000 (08:50 -0500)
themes/base/jquery.ui.accordion.css
ui/jquery.ui.accordion.js

index 80a80c82c06f006149ba0754798058e0e9848b48..a260cf9efb2d893f5b5a894ce42a2fbb4e7531f0 100644 (file)
@@ -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; }
index 85a47ddfb325d71517239b8f1740797920cb1f46..1aa820e68711deeb93545f94d092b0971397cd15 100644 (file)
@@ -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" )