mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-05-13 03:01:39 -04:00
Datepicker: Changed body selector to document.body. Fixed #8464 - Datepicker does not properly scope the body selector.
This commit is contained in:
2
ui/jquery.ui.datepicker.js
vendored
2
ui/jquery.ui.datepicker.js
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user