diff options
| author | bob <bcz@cs.brown.edu> | 2019-08-13 15:42:05 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-08-13 15:42:05 -0400 |
| commit | afec8d91ec6de13de33e2a31c987727b4cc7101d (patch) | |
| tree | 95fd2f51ecd2cc9a31b4e868c356bb52dfb85488 /src/client/util | |
| parent | 73dbd95e2f70bec212d766b2c6545fe59227b82a (diff) | |
changes to fix stacking layouts used with templates. rearrangement of menu options.
Diffstat (limited to 'src/client/util')
| -rw-r--r-- | src/client/util/TooltipTextMenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/TooltipTextMenu.tsx b/src/client/util/TooltipTextMenu.tsx index 8dc5cdb2a..48f02d38a 100644 --- a/src/client/util/TooltipTextMenu.tsx +++ b/src/client/util/TooltipTextMenu.tsx @@ -963,7 +963,7 @@ export class TooltipTextMenu { }); } } - if (!ref_node.isLeaf) { + if (!ref_node.isLeaf && ref_node.childCount > 0) { ref_node = ref_node.child(0); } return ref_node; |
