Fixed a bug with $("body") in dynamic documents, refactored $(...), stopped the test suite from trying to run Ajax tests locally.
This commit is contained in:
parent
5acecf6e28
commit
12e6335339
4 changed files with 43 additions and 39 deletions
|
@ -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] == "." )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue