diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-02-26 21:37:44 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-02-27 09:05:22 -0500 |
commit | 02855292f2746d2c6f64a729730727df6684c6c7 (patch) | |
tree | f7397df4f4e7babf99abb26bd6f072b22abcaf8d /ui/jquery.ui.accordion.js | |
parent | 4da7ec37ac7e5b4dd34593ba850200ccf4f4bf8c (diff) | |
download | jquery-ui-02855292f2746d2c6f64a729730727df6684c6c7.tar.gz jquery-ui-02855292f2746d2c6f64a729730727df6684c6c7.zip |
Accordion: Removed requirement for headers contain a child (and removed associated ui-accordion-heading class).
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r-- | ui/jquery.ui.accordion.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index 01600ba4e..48e964a94 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -42,7 +42,6 @@ $.widget( "ui.accordion", { .addClass( "ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" ); this._hoverable( this.headers ); this._focusable( this.headers ); - this.headers.find( ":first-child" ).addClass( "ui-accordion-heading" ); this.headers.next() .addClass( "ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" ); @@ -95,11 +94,6 @@ $.widget( "ui.accordion", { }); } - // only need links in tab order for Safari - if ( !$.browser.safari ) { - this.headers.find( "a" ).attr( "tabIndex", -1 ); - } - this._setupEvents( options.event ); }, @@ -146,9 +140,6 @@ $.widget( "ui.accordion", { .removeAttr( "tabIndex" ) .find( "a" ) .removeAttr( "tabIndex" ) - .end() - .find( ".ui-accordion-heading" ) - .removeClass( "ui-accordion-heading" ); this._destroyIcons(); // clean up content panels |