]> source.dussan.org Git - jquery-ui.git/commitdiff
Ensure datepicker is initially hidden
authorKeith Wood <kbwood.au@gmail.com>
Mon, 30 Jun 2008 09:47:46 +0000 (09:47 +0000)
committerKeith Wood <kbwood.au@gmail.com>
Mon, 30 Jun 2008 09:47:46 +0000 (09:47 +0000)
ui/ui.datepicker.js

index ced98633bd6d25f5c2b5dbfe8ece8ab3d46ec233..97a1c8046fc8f91a4a1a23940854a6da1f24b912 100644 (file)
@@ -116,7 +116,7 @@ function Datepicker() {
                altFormat: '' // The date format to use for the alternate field
        };
        $.extend(this._defaults, this.regional['']);
-       this._datepickerDiv = $('<div id="' + this._mainDivId + '"></div>');
+       this._datepickerDiv = $('<div id="' + this._mainDivId + '" style="display: none;"></div>');
 }
 
 $.extend(Datepicker.prototype, {