aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.accordion.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-01-14 12:18:33 -0500
committerScott González <scott.gonzalez@gmail.com>2011-01-14 12:18:33 -0500
commit1b2f6ce0955f2a08a2e52c688f23335423179cf1 (patch)
treece16fd578acbb8137fe589d69b7d617aea3782d8 /ui/jquery.ui.accordion.js
parenteabb391e471bea66050a2e87f27df201842eb3a1 (diff)
downloadjquery-ui-1b2f6ce0955f2a08a2e52c688f23335423179cf1.tar.gz
jquery-ui-1b2f6ce0955f2a08a2e52c688f23335423179cf1.zip
Accordion: Renamed resize method to refresh. Fixes #6838 - Accordion: Rename resize method to refresh.
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r--ui/jquery.ui.accordion.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js
index 672d57b87..098ca4090 100644
--- a/ui/jquery.ui.accordion.js
+++ b/ui/jquery.ui.accordion.js
@@ -80,7 +80,7 @@ $.widget( "ui.accordion", {
self.active.next().addClass( "ui-accordion-content-active" );
self._createIcons();
- self.resize();
+ self.refresh();
// ARIA
self.element.attr( "role", "tablist" );
@@ -223,7 +223,7 @@ $.widget( "ui.accordion", {
}
},
- resize: function() {
+ refresh: function() {
var options = this.options,
maxHeight;
@@ -697,4 +697,7 @@ $.extend( $.ui.accordion, {
};
}( jQuery, jQuery.ui.accordion.prototype ) );
+// resize method
+jQuery.ui.accordion.prototype.resize = jQuery.ui.accordion.prototype.refresh;
+
})( jQuery );