Skip to content

Commit

Permalink
Fixing spacing problems from rkatic's patches.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Nov 7, 2009
1 parent 3dc5bc5 commit 76f6f0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/traversing.js
Expand Up @@ -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;
});
},

Expand Down

2 comments on commit 76f6f0d

@rkatic
Copy link
Contributor

@rkatic rkatic commented on 76f6f0d Nov 7, 2009

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strange. I wonder how additional spacing was generated.

@rkatic
Copy link
Contributor

@rkatic rkatic commented on 76f6f0d Nov 8, 2009

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aha, real tabs are used.

Please sign in to comment.