aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.accordion.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js
index 656094681..07fad3130 100644
--- a/ui/jquery.ui.accordion.js
+++ b/ui/jquery.ui.accordion.js
@@ -53,7 +53,7 @@ $.widget("ui.accordion", {
.addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");
if ( o.navigation ) {
- var current = this.element.find("a").filter(o.navigationFilter);
+ var current = this.element.find("a").filter(o.navigationFilter).eq(0);
if ( current.length ) {
var header = current.closest(".ui-accordion-header");
if ( header.length ) {