Skip to content

Commit

Permalink
Fixed ESLint warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderby committed Dec 2, 2016
1 parent d0feb91 commit 33074bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/utils-dom.js
Expand Up @@ -293,7 +293,8 @@ var utilsDom = {
if (s.backgroundColor !== 'transparent' && s.backgroundColor !== 'rgba(0, 0, 0, 0)') {
return s.backgroundColor;
}
} while (current = current.parentElement);
current = current.parentElement;
} while (current);
return 'white';
}
};
Expand Down

0 comments on commit 33074bf

Please sign in to comment.