]> source.dussan.org Git - jquery-ui.git/commitdiff
Accordion: Fixed case for tabIndex (was tabindex), fixes failing destroy-test in IE6
authorjzaefferer <joern.zaefferer@gmail.com>
Sat, 3 Apr 2010 15:14:01 +0000 (17:14 +0200)
committerjzaefferer <joern.zaefferer@gmail.com>
Sat, 3 Apr 2010 15:14:01 +0000 (17:14 +0200)
ui/jquery.ui.accordion.js

index bce78231b7812db50ceaf60d8bfe64c51db59afb..0ac478b739c5a226954ef65306a99cc3c8d531ff 100644 (file)
@@ -140,9 +140,9 @@ $.widget("ui.accordion", {
                this.headers
                        .unbind(".accordion")
                        .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();
                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) {