Permalink
Browse files

Accordion: refresh() also detects header/panel addition/removal in th…

…e DOM. Use consistent wording with the tabs widget.
  • Loading branch information...
1 parent 1bcb2ab commit 4b7d50f7f305abe8939231a04afb74a50ed0db72 @tjvantoll tjvantoll committed Sep 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 entries/accordion.xml
View
@@ -177,7 +177,7 @@
<xi:include href="../includes/widget-method-enable.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
<xi:include href="../includes/widget-method-option.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
<method name="refresh">
- <desc>Recompute the height of the accordion panels. Results depend on the content and the <a href="#option-heightStyle"><code>heightStyle</code></a> option.</desc>
+ <desc>Process any headers and panels that were added or removed directly in the DOM and recompute the height of the accordion panels. Results depend on the content and the <a href="#option-heightStyle"><code>heightStyle</code></a> option.</desc>
</method>
<xi:include href="../includes/widget-method-widget.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
</methods>

0 comments on commit 4b7d50f

Please sign in to comment.