Skip to content

Commit

Permalink
Fix implementation of siblings()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannik Zschiesche committed Jun 29, 2017
1 parent 63f636a commit e6ec61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom/traverse.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export function siblings (element, selector = null)
{
if (sibling !== element && elementMatches(sibling, selector))
{
list.push(element);
list.push(sibling);
}

sibling = sibling.nextSibling;
Expand Down

0 comments on commit e6ec61e

Please sign in to comment.