aboutsummaryrefslogtreecommitdiffstats
path: root/demos/datepicker/animation.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/datepicker/animation.html')
-rw-r--r--demos/datepicker/animation.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/datepicker/animation.html b/demos/datepicker/animation.html
index 990fd6262..36860cb42 100644
--- a/demos/datepicker/animation.html
+++ b/demos/datepicker/animation.html
@@ -19,7 +19,7 @@
<script>
$(function() {
$( "#datepicker" ).datepicker();
- $( "#anim" ).change(function() {
+ $( "#anim" ).on( "change", function() {
$( "#datepicker" ).datepicker( "option", "showAnim", $( this ).val() );
});
});