Skip to content
Permalink
Browse files

Fixed #3858 - Datepicker not hiding consistently on external click

  • Loading branch information
Keith Wood
Keith Wood committed Jan 19, 2009
1 parent 67fb2c8 commit a91095e60dd610aadde5eb4f1ef87302490d36f3
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/ui.datepicker.js
@@ -1594,8 +1594,8 @@ $.fn.datepicker = function(options){

/* Initialise the date picker. */
if (!$.datepicker.initialized) {
$(document.body).append($.datepicker.dpDiv).
mousedown($.datepicker._checkExternalClick);
$(document).mousedown($.datepicker._checkExternalClick).
find('body').append($.datepicker.dpDiv);
$.datepicker.initialized = true;
}

0 comments on commit a91095e

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