Skip to content
Permalink
Browse files

don't need document ready on init

  • Loading branch information
1Marc committed Jul 20, 2008
1 parent d675c6c commit 57599ce0334c4b930a63c009303b8c86533e2e7a
Showing with 3 additions and 5 deletions.
  1. +3 −5 ui/ui.datepicker.js
@@ -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;
}

0 comments on commit 57599ce

Please sign in to comment.
You can’t perform that action at this time.