diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-11-22 11:40:11 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-11-22 11:40:11 -0500 |
commit | a4d54b4d7782fbf3483bbfdf92627c34cf97eb46 (patch) | |
tree | 7200ec57a6eb06c4ca4f2fff34613d0d99b82860 /ui/jquery.ui.datepicker.js | |
parent | a9d854967f0175b4c4b8a48c76a71d0fd1028680 (diff) | |
download | jquery-ui-a4d54b4d7782fbf3483bbfdf92627c34cf97eb46.tar.gz jquery-ui-a4d54b4d7782fbf3483bbfdf92627c34cf97eb46.zip |
Datepicker: Don't use ui-helper-hidden-accessible for initial hiding.
Diffstat (limited to 'ui/jquery.ui.datepicker.js')
-rw-r--r-- | ui/jquery.ui.datepicker.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index 739db1007..4ba478903 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -107,7 +107,7 @@ function Datepicker() { autoSize: false // True to size the input for the date format, false to leave as is }; $.extend(this._defaults, this.regional['']); - this.dpDiv = $('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible"></div>'); + this.dpDiv = $('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'); } $.extend(Datepicker.prototype, { @@ -272,6 +272,7 @@ $.extend(Datepicker.prototype, { this._setDate(inst, this._getDefaultDate(inst), true); this._updateDatepicker(inst); this._updateAlternate(inst); + inst.dpDiv.show(); }, /* Pop-up the date picker in a "dialog" box. |