Commit b26c34a6 authored by Rick Waldron's avatar Rick Waldron

Fixes lint issues.

Signed-off-by: 's avatarRick Waldron <waldron.rick@gmail.com>
parent df254d47
...@@ -175,8 +175,11 @@ function isDisconnected( node ) { ...@@ -175,8 +175,11 @@ function isDisconnected( node ) {
} }
function sibling( cur, dir ) { function sibling( cur, dir ) {
while ( cur = cur[ dir ], cur.nodeType !== 1 ) {} cur = cur[ dir ];
while ( cur.nodeType !== 1 ) {
cur = cur[ dir ];
}
return cur; return cur;
} }
......
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