aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jquery/jquery.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index 76ef152a2..ebe1f8c5f 100644
--- a/src/jquery/jquery.js
+++ b/src/jquery/jquery.js
@@ -166,12 +166,8 @@ jQuery.fn = jQuery.prototype = {
a = jQuery.clean( [ m[1] ] );
// HANDLE: $(expr)
- else {
- var r = new jQuery( c ).find( a );
- r.selector = a;
- r.context = c;
- return r;
- }
+ else
+ return new jQuery( c ).find( a );
}
return this.setArray(