aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/accordion/custom-icons.html3
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);