Skip to content

Commit

Permalink
Datepicker: Changed body selector to document.body. Fixed #8464 - Dat…
Browse files Browse the repository at this point in the history
…epicker does not properly scope the body selector.
  • Loading branch information
maspwr committed Jul 27, 2012
1 parent bfec28e commit 1626c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.datepicker.js
Expand Up @@ -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;
}

Expand Down

3 comments on commit 1626c97

@scottgonzalez
Copy link
Member

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

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.