aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.accordion.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.accordion.js')
-rw-r--r--ui/ui.accordion.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js
index 0a625e5d3..c7e55f5c8 100644
--- a/ui/ui.accordion.js
+++ b/ui/ui.accordion.js
@@ -125,6 +125,8 @@ $.widget("ui.accordion", {
if (o.autoHeight || o.fillHeight) {
contents.css("height", "");
}
+
+ return this;
},
_setData: function(key, value) {
@@ -195,12 +197,15 @@ $.widget("ui.accordion", {
}).height(maxHeight);
}
+ return this;
},
activate: function(index) {
// call clickHandler with custom event
var active = this._findActive(index)[0];
this._clickHandler({ target: active }, active);
+
+ return this;
},
_findActive: function(selector) {