Accordion: Fixed case for tabIndex (was tabindex), fixes failing destroy-test in IE6

This commit is contained in:
jzaefferer 2010-04-03 17:14:01 +02:00
parent da0fe50ec5
commit cae15a4d37

View File

@ -140,9 +140,9 @@ $.widget("ui.accordion", {
this.headers this.headers
.unbind(".accordion") .unbind(".accordion")
.removeClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-corner-top") .removeClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-corner-top")
.removeAttr("role").removeAttr("aria-expanded").removeAttr("tabindex"); .removeAttr("role").removeAttr("aria-expanded").removeAttr("tabIndex");
this.headers.find("a").removeAttr("tabindex"); this.headers.find("a").removeAttr("tabIndex");
this._destroyIcons(); this._destroyIcons();
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"); 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");
if (o.autoHeight || o.fillHeight) { if (o.autoHeight || o.fillHeight) {