aboutsummaryrefslogtreecommitdiffstats
path: root/demos/accordion/custom-icons.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/accordion/custom-icons.html')
-rw-r--r--demos/accordion/custom-icons.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/accordion/custom-icons.html b/demos/accordion/custom-icons.html
index 91ca4543a..9d43c3c8b 100644
--- a/demos/accordion/custom-icons.html
+++ b/demos/accordion/custom-icons.html
@@ -19,7 +19,7 @@
$( "#accordion" ).accordion({
icons: icons
});
- $( "#toggle" ).button().click(function() {
+ $( "#toggle" ).button().on( "click", function() {
if ( $( "#accordion" ).accordion( "option", "icons" ) ) {
$( "#accordion" ).accordion( "option", "icons", null );
} else {