aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector/selector.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-01-08 00:12:41 +0000
committerJohn Resig <jeresig@gmail.com>2007-01-08 00:12:41 +0000
commit12e63353391f1a556a73fe92bcd8e5f0ac277726 (patch)
treee4993d1cfac709e71026dbf4232d897182833920 /src/selector/selector.js
parent5acecf6e2814701f9e22f91f17fcb33ef910e88a (diff)
downloadjquery-12e63353391f1a556a73fe92bcd8e5f0ac277726.tar.gz
jquery-12e63353391f1a556a73fe92bcd8e5f0ac277726.zip
Fixed a bug with $("body") in dynamic documents, refactored $(...), stopped the test suite from trying to run Ajax tests locally.
Diffstat (limited to 'src/selector/selector.js')
-rw-r--r--src/selector/selector.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/selector/selector.js b/src/selector/selector.js
index a478376f8..d9114c240 100644
--- a/src/selector/selector.js
+++ b/src/selector/selector.js
@@ -214,10 +214,6 @@ jQuery.extend({
ret = r = oid &&
(!m[3] || oid.nodeName == m[3].toUpperCase()) ? [oid] : [];
- // Use the DOM 0 shortcut for the body element
- } else if ( m[1] == "" && m[2] == "body" ) {
- ret = r = [ document.body ];
-
} else {
// Pre-compile a regular expression to handle class searches
if ( m[1] == "." )