aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect/animate.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/effect/animate.html')
-rw-r--r--demos/effect/animate.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/effect/animate.html b/demos/effect/animate.html
index 7de535114..853b72326 100644
--- a/demos/effect/animate.html
+++ b/demos/effect/animate.html
@@ -16,7 +16,7 @@
<script>
$(function() {
var state = true;
- $( "#button" ).click(function() {
+ $( "#button" ).on( "click", function() {
if ( state ) {
$( "#effect" ).animate({
backgroundColor: "#aa0000",