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 with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.datepicker.js
@@ -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

This comment has been minimized.

Copy link
Member

replied Dec 10, 2013

@maspwr Can you please sign our CLA?

@maspwr

This comment has been minimized.

Copy link
Contributor Author

replied Dec 10, 2013

Yes, done.

@scottgonzalez

This comment has been minimized.

Copy link
Member

replied Dec 10, 2013

Thanks.

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