state(ac, 0, 1, 0);
});
-test("resize", function() {
+test("refresh", function() {
var expected = $('#navigation').parent().height(300).end().accordion({
fillSpace: true
});
equalHeights(expected, 246, 258);
expected.parent().height(500);
- expected.accordion("resize");
+ expected.accordion("refresh");
equalHeights(expected, 446, 458);
});
self.active.next().addClass( "ui-accordion-content-active" );
self._createIcons();
- self.resize();
+ self.refresh();
// ARIA
self.element.attr( "role", "tablist" );
}
},
- resize: function() {
+ refresh: function() {
var options = this.options,
maxHeight;
};
}( jQuery, jQuery.ui.accordion.prototype ) );
+// resize method
+jQuery.ui.accordion.prototype.resize = jQuery.ui.accordion.prototype.refresh;
+
})( jQuery );