aboutsummaryrefslogtreecommitdiffstats
path: root/demos/datepicker/date-formats.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-05-13 21:54:56 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-05-20 14:27:55 -0400
commit183422bd9f9a1431e51b427c704c6bcd0583bea6 (patch)
tree1424b54b5d5d6f45a33e340a3500e7a7ef309658 /demos/datepicker/date-formats.html
parent12df1b7dad135aa57640be631277db3f7d75d672 (diff)
downloadjquery-ui-183422bd9f9a1431e51b427c704c6bcd0583bea6.tar.gz
jquery-ui-183422bd9f9a1431e51b427c704c6bcd0583bea6.zip
Datepicker: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'demos/datepicker/date-formats.html')
-rw-r--r--demos/datepicker/date-formats.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/datepicker/date-formats.html b/demos/datepicker/date-formats.html
index 39be9aa15..5664beb5b 100644
--- a/demos/datepicker/date-formats.html
+++ b/demos/datepicker/date-formats.html
@@ -12,7 +12,7 @@
<script>
$(function() {
$( "#datepicker" ).datepicker();
- $( "#format" ).change(function() {
+ $( "#format" ).on( "change", function() {
$( "#datepicker" ).datepicker( "option", "dateFormat", $( this ).val() );
});
});