diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-01-14 12:18:33 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-01-14 12:18:33 -0500 |
commit | 1b2f6ce0955f2a08a2e52c688f23335423179cf1 (patch) | |
tree | ce16fd578acbb8137fe589d69b7d617aea3782d8 /ui/jquery.ui.accordion.js | |
parent | eabb391e471bea66050a2e87f27df201842eb3a1 (diff) | |
download | jquery-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.js | 7 |
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 ); |