mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fixing spacing problems from rkatic's patches.
This commit is contained in:
@@ -58,14 +58,14 @@ jQuery.fn.extend({
|
||||
var cur = this, closer = 0;
|
||||
while ( cur && cur.ownerDocument && cur !== context ) {
|
||||
if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) {
|
||||
jQuery.lastCloser = closer;
|
||||
jQuery.lastCloser = closer;
|
||||
return cur;
|
||||
}
|
||||
cur = cur.parentNode;
|
||||
closer++;
|
||||
}
|
||||
jQuery.lastCloser = -1;
|
||||
return null;
|
||||
jQuery.lastCloser = -1;
|
||||
return null;
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user