From 76f6f0d39dc16e6c081823938ec46f6627a05d31 Mon Sep 17 00:00:00 2001 From: John Resig Date: Sat, 7 Nov 2009 17:40:47 +0100 Subject: [PATCH] Fixing spacing problems from rkatic's patches. --- src/traversing.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/traversing.js b/src/traversing.js index a37af7b2..f7c86f13 100644 --- a/src/traversing.js +++ b/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; }); },