aboutsummaryrefslogtreecommitdiffstats
path: root/src/traversing.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/traversing.js')
-rw-r--r--src/traversing.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/traversing.js b/src/traversing.js
index 4e55c8257..e3fc5cfa2 100644
--- a/src/traversing.js
+++ b/src/traversing.js
@@ -65,7 +65,7 @@ jQuery.fn.extend({
i = 0,
l = this.length,
matched = [],
- pos = ( rneedsContext.test( selectors ) || typeof selectors !== "string" ) ?
+ pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ?
jQuery( selectors, context || this.context ) :
0;
@@ -79,7 +79,7 @@ jQuery.fn.extend({
cur.nodeType === 1 &&
jQuery.find.matchesSelector(cur, selectors)) ) {
- cur = matched.push( cur );
+ matched.push( cur );
break;
}
}