aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.accordion.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js
index 95fd55f43..0335f22d1 100644
--- a/ui/ui.accordion.js
+++ b/ui/ui.accordion.js
@@ -251,8 +251,8 @@ $.widget("ui.accordion", {
options: o,
newHeader: clickedIsActive && !o.alwaysOpen ? $([]) : clicked,
oldHeader: this.active,
- newContent: clickedIsActive && !o.alwaysOpen ? $([]) : toShow,
- oldContent: toHide
+ newContent: clickedIsActive && !o.alwaysOpen ? $([]) : toShow.find('> *'),
+ oldContent: toHide.find('> *')
},
down = this.headers.index( this.active[0] ) > this.headers.index( clicked[0] );