Skip to content

Commit cae15a4

Browse files
committed
Accordion: Fixed case for tabIndex (was tabindex), fixes failing destroy-test in IE6
1 parent da0fe50 commit cae15a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/jquery.ui.accordion.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ $.widget("ui.accordion", {
140140
this.headers
141141
.unbind(".accordion")
142142
.removeClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-corner-top")
143-
.removeAttr("role").removeAttr("aria-expanded").removeAttr("tabindex");
143+
.removeAttr("role").removeAttr("aria-expanded").removeAttr("tabIndex");
144144

145-
this.headers.find("a").removeAttr("tabindex");
145+
this.headers.find("a").removeAttr("tabIndex");
146146
this._destroyIcons();
147147
var contents = this.headers.next().css("display", "").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active");
148148
if (o.autoHeight || o.fillHeight) {

0 commit comments

Comments
 (0)