Skip to content
Permalink
Browse files

use button on accordion demo page with a button-eleement

  • Loading branch information...
jzaefferer committed Feb 20, 2010
1 parent b53bf77 commit 8e8094be4bbe891ae5b22af6b611393ad81765bc
Showing with 2 additions and 1 deletion.
  1. +2 −1 demos/accordion/custom-icons.html
@@ -7,6 +7,7 @@
<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.accordion.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
@@ -17,7 +18,7 @@
$("#accordion").accordion({
icons: icons
});
$("#toggle").toggle(function() {
$("#toggle").button().toggle(function() {
$("#accordion").accordion("option", "icons", false);
}, function() {
$("#accordion").accordion("option", "icons", icons);

0 comments on commit 8e8094b

Please sign in to comment.
You can’t perform that action at this time.