git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure that a clone of the animate speed properties are used to avoid recursion...
[jquery.git]
/
src
/
core.js
diff --git
a/src/core.js
b/src/core.js
index
6c6d006
..
cc92138
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-91,7
+91,7
@@
jQuery.fn = jQuery.prototype = {
}
// The body element only exists once, optimize finding it
- if ( selector === "body" && !context ) {
+ if ( selector === "body" && !context && document.body ) {
this.context = document;
this[0] = document.body;
this.selector = "body";