diff options
author | jeresig <jeresig@gmail.com> | 2011-04-10 16:37:09 -0400 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2011-04-10 16:37:09 -0400 |
commit | 523db95de2fe9a66e515d75a7cbcce204c40c93b (patch) | |
tree | bfa768c3b947f68b253f8bc052b7d58e838957e8 /src/core.js | |
parent | 52f31054fd97e20ba423d406a484885b2639178c (diff) | |
parent | 1a167767305202797cf4c839eb64bd7adfb00182 (diff) | |
download | jquery-523db95de2fe9a66e515d75a7cbcce204c40c93b.tar.gz jquery-523db95de2fe9a66e515d75a7cbcce204c40c93b.zip |
Merge branch '2773_find_closest' of https://github.com/timmywil/jquery into timmywil-2773_find_closest
Conflicts:
test/unit/traversing.js
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 8f24000fa..323349e8b 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; } |