Skip to content

Commit e5e5ab9

Browse files
Demos: Updated dynamic collapsibles demo to 1.4.
1 parent 9c53458 commit e5e5ab9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

demos/examples/collapsibles/dynamic-collapsible.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
});
2424

2525
$("#expand").click(function() {
26-
$("#set").children(":last").trigger( "expand" );
26+
$("#set").children(":last").collapsible( "expand" );
2727
});
2828

2929
$("#collapse").click(function() {
30-
$("#set").children(":last").trigger( "collapse" );
30+
$("#set").children(":last").collapsible( "collapse" );
3131
});
3232
});
3333
</script>
@@ -53,7 +53,7 @@
5353
<button type="button" data-icon="plus" data-theme="b" data-iconpos="right" data-mini="true" data-inline="true" id="expand">Expand last</button>
5454
<button type="button" data-icon="minus" data-theme="b" data-iconpos="right" data-mini="true" data-inline="true" id="collapse">Collapse last</button>
5555

56-
<div data-role="collapsible-set" data-content-theme="d" id="set">
56+
<div data-role="collapsible-set" data-content-theme="a" data-iconpos="right" id="set">
5757
<div data-role="collapsible" id="set1" data-collapsed="true">
5858
<h3>Section 1</h3>
5959
<p>I'm the collapsible content.</p>

0 commit comments

Comments
 (0)