Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanbalci committed Mar 18, 2021
1 parent 680aaca commit 23bac1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cytoscape-expand-collapse.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/expandCollapseUtilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ return {
}

// If there is no sibling call expand node base function here else it is to be called one of fishEyeViewMoveNode() calls
if (siblings.length == 0) {
if (siblings.length == 0 && node.same(nodeToExpand)) {
this.expandNodeBaseFunction(nodeToExpand, single, layoutBy);
}

Expand Down

0 comments on commit 23bac1f

Please sign in to comment.