diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-03-16 01:16:32 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-03-16 01:16:32 -0400 |
commit | 7a69e34a5cd4df37762cbee9c9468c96c0ac3017 (patch) | |
tree | 01d7a27135d76fb61a590d36b66a87b2a92ac2f0 /src/core.js | |
parent | 8246347b7191e79ed09bf1fc4c4a0a58211cf345 (diff) | |
download | jquery-7a69e34a5cd4df37762cbee9c9468c96c0ac3017.tar.gz jquery-7a69e34a5cd4df37762cbee9c9468c96c0ac3017.zip |
2773: first pass adding node/jQuery object support to jQuery.fn.find; unit tests added
Diffstat (limited to 'src/core.js')
-rw-r--r-- | src/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js index 9312ee288..812ecde55 100644 --- a/src/core.js +++ b/src/core.js @@ -88,7 +88,7 @@ jQuery.fn = jQuery.prototype = { if ( selector === "body" && !context && document.body ) { this.context = document; this[0] = document.body; - this.selector = "body"; + this.selector = selector; this.length = 1; return this; } |