aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
authortimmywil <tim.willison@thisismedium.com>2011-03-16 01:16:32 -0400
committertimmywil <tim.willison@thisismedium.com>2011-03-16 01:16:32 -0400
commit7a69e34a5cd4df37762cbee9c9468c96c0ac3017 (patch)
tree01d7a27135d76fb61a590d36b66a87b2a92ac2f0 /src/core.js
parent8246347b7191e79ed09bf1fc4c4a0a58211cf345 (diff)
downloadjquery-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.js2
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;
}