Skip to content

Commit 31e04a8

Browse files
icfantvwesleycho
authored andcommitted
docs(accordion): fix accordion demo
* fix toggle last panel Closes angular-ui#4341
1 parent 1583dde commit 31e04a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/accordion/docs/demo.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h4 class="panel-title" style="color:#fa39c3">
3636
<button type="button" class="btn btn-default btn-sm" ng-click="addItem()">Add Item</button>
3737
<div ng-repeat="item in items">{{item}}</div>
3838
</accordion-group>
39-
<accordion-group is-open="status.open">
39+
<accordion-group>
4040
<accordion-heading>
4141
I can have markup, too! <i class="pull-right glyphicon" ng-class="{'glyphicon-chevron-down': status.open, 'glyphicon-chevron-right': !status.open}"></i>
4242
</accordion-heading>
@@ -45,7 +45,7 @@ <h4 class="panel-title" style="color:#fa39c3">
4545
<accordion-group heading="Custom template" template-url="group-template.html">
4646
Hello
4747
</accordion-group>
48-
<accordion-group heading="Delete account" panel-class="panel-danger">
48+
<accordion-group heading="Delete account" panel-class="panel-danger" is-open="status.open">
4949
<p>Please, to delete your account, click the button below</p>
5050
<button class="btn btn-danger">Delete</button>
5151
</accordion-group>

0 commit comments

Comments
 (0)