Skip to content

Commit

Permalink
Accordion: Added note about supporting negative values for active opt…
Browse files Browse the repository at this point in the history
…ion in 2.0.
  • Loading branch information
scottgonzalez committed Jan 13, 2011
1 parent b5b8cef commit 3c11cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.accordion.js
Expand Up @@ -287,7 +287,7 @@ $.widget( "ui.accordion", {
this._eventHandler( { target: active, currentTarget: active } ); this._eventHandler( { target: active, currentTarget: active } );
}, },


// TODO: add tests for negative values in 2.0 // TODO: add tests/docs for negative values in 2.0 (#6854)
_findActive: function( selector ) { _findActive: function( selector ) {
return typeof selector === "number" ? this.headers.eq( selector ) : $( [] ); return typeof selector === "number" ? this.headers.eq( selector ) : $( [] );
}, },
Expand Down

0 comments on commit 3c11cd3

Please sign in to comment.