aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.datepicker.js
diff options
context:
space:
mode:
authorMark Aaron Shirley <maspwr@gmail.com>2012-07-27 09:40:11 -0700
committerMark Aaron Shirley <maspwr@gmail.com>2012-07-27 09:40:11 -0700
commit1626c97caa920d72d0bb7501b240e64538ed41cd (patch)
tree7c66943f8d6baf8b00e893c034a9171310eeebff /ui/jquery.ui.datepicker.js
parentbfec28eb0d62148c94e358813ab66962dd566024 (diff)
downloadjquery-ui-1626c97caa920d72d0bb7501b240e64538ed41cd.tar.gz
jquery-ui-1626c97caa920d72d0bb7501b240e64538ed41cd.zip
Datepicker: Changed body selector to document.body. Fixed #8464 - Datepicker does not properly scope the body selector.
Diffstat (limited to 'ui/jquery.ui.datepicker.js')
-rw-r--r--ui/jquery.ui.datepicker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js
index 692832d19..d54c4fb85 100644
--- a/ui/jquery.ui.datepicker.js
+++ b/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;
}