mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
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:
parent
fe6990e104
commit
c58012364b
1
themes/base/jquery.ui.accordion.css
vendored
1
themes/base/jquery.ui.accordion.css
vendored
@ -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; }
|
||||
|
7
ui/jquery.ui.accordion.js
vendored
7
ui/jquery.ui.accordion.js
vendored
@ -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" )
|
||||
|
Loading…
Reference in New Issue
Block a user