aboutsummaryrefslogtreecommitdiffstats
path: root/demos/accordion
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-02-02 02:29:31 +0000
committerScott González <scott.gonzalez@gmail.com>2009-02-02 02:29:31 +0000
commit94c16d6378b51f8f9d60768f902a0dbf0d6d5087 (patch)
tree1d2f0dd54652f37db96721e0da9226f865be21d4 /demos/accordion
parent43ebec65763a6cd62b1d5189af83a954bb54ea53 (diff)
downloadjquery-ui-94c16d6378b51f8f9d60768f902a0dbf0d6d5087.tar.gz
jquery-ui-94c16d6378b51f8f9d60768f902a0dbf0d6d5087.zip
Accordion: Fixed #3969: Deprecated alwaysOpen for collapsible option; fixed demos, tests, and using alwaysOpen on init.
Diffstat (limited to 'demos/accordion')
-rw-r--r--demos/accordion/collapsible.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/accordion/collapsible.html b/demos/accordion/collapsible.html
index a4e3a31ae..6520b152a 100644
--- a/demos/accordion/collapsible.html
+++ b/demos/accordion/collapsible.html
@@ -10,7 +10,7 @@
<script type="text/javascript">
$(function() {
$("#accordion").accordion({
- alwaysOpen: false
+ collapsible: true
});
});
</script>
@@ -49,7 +49,7 @@
<div class="demo-description">
-<p>By default, accordions always keep one section open. To allow for all sections to be be collapsible, set the <code>alwaysOpen</code> option to false. Click on the currently open section to collapse its content pane.</p>
+<p>By default, accordions always keep one section open. To allow for all sections to be be collapsible, set the <code>collapsible</code> option to true. Click on the currently open section to collapse its content pane.</p>
</div><!-- End demo-description -->