diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-07-15 12:32:49 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-07-15 12:32:49 -0400 |
commit | a6f3b9ee64f260b44a367d0c1ec81dcf7f557ec9 (patch) | |
tree | 08b12658e0ed16a48dbfa3b9e00a8eaa457cb785 /src/client/views/DocumentDecorations.tsx | |
parent | 866561aa20aff0f570d31edf64eae36cd2d35279 (diff) | |
parent | ba86637704663e4791b0bccd2762f15a55fc188d (diff) |
Merge branch 'master' into onClickscripts
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 444d2fe50..bf3037e91 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -150,7 +150,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> if (e.button === 0 && !e.altKey && !e.ctrlKey) { let child = SelectionManager.SelectedDocuments()[0].ContentDiv!.children[0]; while (child.children.length) { - const next = Array.from(child.children).find(c => typeof (c.className) !== "string" || !c.className.includes("collectionViewChrome")); + const next = Array.from(child.children).find(c => typeof (c.className) !== "string"); if (typeof (next?.className) === "string" && next?.className.includes("documentView-node")) break; if (next) child = next; else break; |