From c58012364b495ef50aa8bfcb35fcede079983fdf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 31 Jan 2011 08:50:17 -0500 Subject: [PATCH] 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. --- themes/base/jquery.ui.accordion.css | 1 - ui/jquery.ui.accordion.js | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/themes/base/jquery.ui.accordion.css b/themes/base/jquery.ui.accordion.css index 80a80c82c..a260cf9ef 100644 --- a/themes/base/jquery.ui.accordion.css +++ b/themes/base/jquery.ui.accordion.css @@ -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; } diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index 85a47ddfb..1aa820e68 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -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" ) -- 2.39.5