diff options
author | John Resig <jeresig@gmail.com> | 2007-01-08 00:12:41 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-01-08 00:12:41 +0000 |
commit | 12e63353391f1a556a73fe92bcd8e5f0ac277726 (patch) | |
tree | e4993d1cfac709e71026dbf4232d897182833920 /src/selector/selector.js | |
parent | 5acecf6e2814701f9e22f91f17fcb33ef910e88a (diff) | |
download | jquery-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.js | 4 |
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] == "." ) |