aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect/addClass.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/effect/addClass.html')
-rw-r--r--demos/effect/addClass.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/effect/addClass.html b/demos/effect/addClass.html
index 0aab17304..915a72f2d 100644
--- a/demos/effect/addClass.html
+++ b/demos/effect/addClass.html
@@ -15,7 +15,7 @@
</style>
<script>
$(function() {
- $( "#button" ).click(function() {
+ $( "#button" ).on( "click", function() {
$( "#effect" ).addClass( "newClass", 1000, callback );
});