Skip to content

Commit dc646c0

Browse files
paulirishrdworth
authored andcommitted
Datepicker: cleaning up the datepicker open transition. fixed #5609 - Datepicker: change default opening animation to fadeIn
1 parent e780583 commit dc646c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/jquery.ui.datepicker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function Datepicker() {
6161
this._defaults = { // Global defaults for all the date picker instances
6262
showOn: 'focus', // 'focus' for popup on focus,
6363
// 'button' for trigger button, or 'both' for either
64-
showAnim: 'show', // Name of jQuery animation for popup
64+
showAnim: 'fadeIn', // Name of jQuery animation for popup
6565
showOptions: {}, // Options for enhanced animations
6666
defaultDate: null, // Used when field is blank: actual date,
6767
// +/-number for offset from today, null for today
@@ -88,7 +88,7 @@ function Datepicker() {
8888
// string value starting with '+' for current year + value
8989
minDate: null, // The earliest selectable date, or null for no limit
9090
maxDate: null, // The latest selectable date, or null for no limit
91-
duration: '_default', // Duration of display/closure
91+
duration: 'fast', // Duration of display/closure
9292
beforeShowDay: null, // Function that takes a date and returns an array with
9393
// [0] = true if selectable, false if not, [1] = custom CSS class name(s) or '',
9494
// [2] = cell title (optional), e.g. $.datepicker.noWeekends

0 commit comments

Comments
 (0)