Skip to content
Permalink
Browse files

Fixing spacing problems from rkatic's patches.

  • Loading branch information
jeresig committed Nov 7, 2009
1 parent 3dc5bc5 commit 76f6f0d39dc16e6c081823938ec46f6627a05d31
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/traversing.js
@@ -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;
});
},

2 comments on commit 76f6f0d

@rkatic

This comment has been minimized.

Copy link
Contributor

rkatic replied Nov 7, 2009

Strange. I wonder how additional spacing was generated.

@rkatic

This comment has been minimized.

Copy link
Contributor

rkatic replied Nov 8, 2009

Aha, real tabs are used.

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