Commit 0f14c53d authored by Timmy Willison's avatar Timmy Willison

Remove unnecessary else

parent 17a26f5b
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment