diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core.js | 9 | ||||
m--------- | src/sizzle | 0 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/core.js b/src/core.js index 4e38deaeb..f317666ce 100644 --- a/src/core.js +++ b/src/core.js @@ -90,15 +90,6 @@ jQuery.fn = jQuery.prototype = { return this; } - // The body element only exists once, optimize finding it - if ( selector === "body" && !context && document.body ) { - this.context = document; - this[0] = document.body; - this.selector = selector; - this.length = 1; - return this; - } - // Handle HTML strings if ( typeof selector === "string" ) { // Are we dealing with HTML string or an ID? diff --git a/src/sizzle b/src/sizzle -Subproject 912a8218c36f6136d694a0915eb92bdf3e7b5e4 +Subproject feebbd7e053bff426444c7b348c776c99c7490e |