We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 670ab81 commit 0aa4c7fCopy full SHA for 0aa4c7f
ui/jquery.ui.accordion.js
@@ -40,9 +40,7 @@ $.widget("ui.accordion", {
40
this.element.addClass("ui-accordion ui-widget ui-helper-reset");
41
42
// in lack of child-selectors in CSS we need to mark top-LIs in a UL-accordion for some IE-fix
43
- if (this.element[0].nodeName == "UL") {
44
- this.element.children("li").addClass("ui-accordion-li-fix");
45
- }
+ this.element.children("li").addClass("ui-accordion-li-fix");
46
47
this.headers = this.element.find(o.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all")
48
.bind("mouseenter.accordion", function(){ $(this).addClass('ui-state-hover'); })
0 commit comments