diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2010-02-20 17:54:35 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2010-02-20 17:54:35 +0000 |
commit | 8e8094be4bbe891ae5b22af6b611393ad81765bc (patch) | |
tree | 2c46c047aed140db6f41909e354488ed21a0d74b /demos | |
parent | b53bf774cef3c94d73a99fb34b979346abff29dc (diff) | |
download | jquery-ui-8e8094be4bbe891ae5b22af6b611393ad81765bc.tar.gz jquery-ui-8e8094be4bbe891ae5b22af6b611393ad81765bc.zip |
use button on accordion demo page with a button-eleement
Diffstat (limited to 'demos')
-rw-r--r-- | demos/accordion/custom-icons.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/accordion/custom-icons.html b/demos/accordion/custom-icons.html index fc373c36e..c2adcff12 100644 --- a/demos/accordion/custom-icons.html +++ b/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); |