Accordion: Added note about supporting negative values for active option in 2.0.

This commit is contained in:
Scott González 2011-01-13 14:01:38 -05:00
parent b5b8cefcb0
commit 3c11cd3051

View File

@ -287,7 +287,7 @@ $.widget( "ui.accordion", {
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 ) {
return typeof selector === "number" ? this.headers.eq( selector ) : $( [] );
},