diff options
Diffstat (limited to 'demos/datepicker/date-range.html')
-rw-r--r-- | demos/datepicker/date-range.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/datepicker/date-range.html b/demos/datepicker/date-range.html index 284b6b3be..7fd8f321c 100644 --- a/demos/datepicker/date-range.html +++ b/demos/datepicker/date-range.html @@ -15,7 +15,7 @@ defaultDate: "+1w", changeMonth: true, numberOfMonths: 3, - onSelect: function( selectedDate ) { + onClose: function( selectedDate ) { $( "#to" ).datepicker( "option", "minDate", selectedDate ); } }); @@ -23,7 +23,7 @@ defaultDate: "+1w", changeMonth: true, numberOfMonths: 3, - onSelect: function( selectedDate ) { + onClose: function( selectedDate ) { $( "#from" ).datepicker( "option", "maxDate", selectedDate ); } }); |