Skip to content
Permalink
Browse files

Remove unnecessary else

  • Loading branch information...
timmywil committed Jul 25, 2012
1 parent 17a26f5 commit 0f14c53d7217ad65c5dfbb043c96f2683a563540
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/traversing.js
@@ -96,10 +96,8 @@ jQuery.fn.extend({
if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) {
ret.push( cur );
break;

} else {
cur = cur.parentNode;
}
cur = cur.parentNode;
}
}

0 comments on commit 0f14c53

Please sign in to comment.
You can’t perform that action at this time.