Skip to content

Commit b50a73d

Browse files
authored
Revert unwanted change
1 parent e6ee359 commit b50a73d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function* treeWalker(refresh) {
9393

9494
// Basing on the node openness state we are deciding if we need to render
9595
// the child nodes (if they exist).
96-
if (children.length > 0 && isOpened) {
96+
if (children.length !== 0 && isOpened) {
9797
// Since it is a stack structure, we need to put nodes we want to render
9898
// first to the end of the stack.
9999
for (let i = children.length - 1; i >= 0; i--) {

0 commit comments

Comments
 (0)