mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
accordion: navigation option wasn't working (fixes #3944)
This commit is contained in:
parent
43efa580dd
commit
ef0149adba
@ -22,7 +22,7 @@ $.widget("ui.accordion", {
|
||||
if ( o.navigation ) {
|
||||
var current = this.element.find("a").filter(o.navigationFilter);
|
||||
if ( current.length ) {
|
||||
if ( current.filter(options.header).length ) {
|
||||
if ( current.filter(o.header).length ) {
|
||||
this.active = current;
|
||||
} else {
|
||||
this.active = current.parent().parent().prev();
|
||||
|
Loading…
Reference in New Issue
Block a user