diff options
author | Paul Irish <paul.irish@gmail.com> | 2010-05-12 23:48:29 +0800 |
---|---|---|
committer | Richard D. Worth <rdworth@gmail.com> | 2010-05-13 01:18:55 +0800 |
commit | dc646c01fe97b54e3bb486b55caacf69bd3b12ac (patch) | |
tree | fb1acd9bbe525363cd28f8883ac5e54a13533293 /ui | |
parent | e780583694f69513e4f3759e8b198c18313b8f0c (diff) | |
download | jquery-ui-dc646c01fe97b54e3bb486b55caacf69bd3b12ac.tar.gz jquery-ui-dc646c01fe97b54e3bb486b55caacf69bd3b12ac.zip |
Datepicker: cleaning up the datepicker open transition. fixed #5609 - Datepicker: change default opening animation to fadeIn
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.datepicker.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index 429253742..ee3d79ef4 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -61,7 +61,7 @@ function Datepicker() { this._defaults = { // Global defaults for all the date picker instances showOn: 'focus', // 'focus' for popup on focus, // 'button' for trigger button, or 'both' for either - showAnim: 'show', // Name of jQuery animation for popup + showAnim: 'fadeIn', // Name of jQuery animation for popup showOptions: {}, // Options for enhanced animations defaultDate: null, // Used when field is blank: actual date, // +/-number for offset from today, null for today @@ -88,7 +88,7 @@ function Datepicker() { // string value starting with '+' for current year + value minDate: null, // The earliest selectable date, or null for no limit maxDate: null, // The latest selectable date, or null for no limit - duration: '_default', // Duration of display/closure + duration: 'fast', // Duration of display/closure beforeShowDay: null, // Function that takes a date and returns an array with // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or '', // [2] = cell title (optional), e.g. $.datepicker.noWeekends |