Commit 76f6f0d3 authored by John Resig's avatar John Resig

Fixing spacing problems from rkatic's patches.

parent 3dc5bc5a
...@@ -58,14 +58,14 @@ jQuery.fn.extend({ ...@@ -58,14 +58,14 @@ jQuery.fn.extend({
var cur = this, closer = 0; var cur = this, closer = 0;
while ( cur && cur.ownerDocument && cur !== context ) { while ( cur && cur.ownerDocument && cur !== context ) {
if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) { if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) {
jQuery.lastCloser = closer; jQuery.lastCloser = closer;
return cur; return cur;
} }
cur = cur.parentNode; cur = cur.parentNode;
closer++; closer++;
} }
jQuery.lastCloser = -1; jQuery.lastCloser = -1;
return null; return null;
}); });
}, },
......
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