mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +00:00
Accordion: Added note about supporting negative values for active option in 2.0.
This commit is contained in:
parent
b5b8cefcb0
commit
3c11cd3051
2
ui/jquery.ui.accordion.js
vendored
2
ui/jquery.ui.accordion.js
vendored
@ -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 ) : $( [] );
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user