don't need document ready on init

This commit is contained in:
Marc Grabanski 2008-07-20 17:16:09 +00:00
parent d675c6c510
commit 57599ce033

View File

@ -1563,11 +1563,9 @@ $.fn.datepicker = function(options){
/* Initialise the date picker. */
if (!$.datepicker.initialized) {
$(function() {
$(document.body)
.append($.datepicker.dpDiv)
.mousedown($.datepicker._checkExternalClick);
});
$(document.body)
.append($.datepicker.dpDiv)
.mousedown($.datepicker._checkExternalClick);
$.datepicker.initialized = true;
}