aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js9
1 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?