From ef0149adbab4f6dfa27bab14d05b35e75dc4f01c Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Mon, 26 Jan 2009 12:11:56 +0000 Subject: [PATCH] accordion: navigation option wasn't working (fixes #3944) --- ui/ui.accordion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index 0335f22d1..77226fb8a 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -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(); -- 2.39.5