Skip to content
Permalink
Browse files
Datepicker: Changed body selector to document.body. Fixed #8464 - Dat…
…epicker does not properly scope the body selector.
  • Loading branch information
maspwr committed Jul 27, 2012
1 parent bfec28e commit 1626c97caa920d72d0bb7501b240e64538ed41cd
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1818,7 +1818,7 @@ $.fn.datepicker = function(options){
/* Initialise the date picker. */
if (!$.datepicker.initialized) {
$(document).mousedown($.datepicker._checkExternalClick).
find('body').append($.datepicker.dpDiv);
find(document.body).append($.datepicker.dpDiv);
$.datepicker.initialized = true;
}

3 comments on commit 1626c97

@scottgonzalez
Copy link
Member

@scottgonzalez scottgonzalez commented on 1626c97 Dec 10, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maspwr Can you please sign our CLA?

@maspwr
Copy link
Contributor Author

@maspwr maspwr commented on 1626c97 Dec 10, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, done.

@scottgonzalez
Copy link
Member

@scottgonzalez scottgonzalez commented on 1626c97 Dec 10, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

Please sign in to comment.