diff options
| author | bobzel <zzzman@gmail.com> | 2022-11-30 12:58:47 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-11-30 12:58:47 -0500 |
| commit | ae8e487fbf7a5e662a04c14e805041bbdf49c87d (patch) | |
| tree | fa37983ac454fbf74f54256b9238ac41994eaab1 /src/client/views/SidebarAnnos.tsx | |
| parent | f61092c162378f8884335b0988058420b7982f7d (diff) | |
show link count for isLinkButton docs, don't show link links for sidebaranno links by default.
Diffstat (limited to 'src/client/views/SidebarAnnos.tsx')
| -rw-r--r-- | src/client/views/SidebarAnnos.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/SidebarAnnos.tsx b/src/client/views/SidebarAnnos.tsx index ec68a6b36..6d06bbbf6 100644 --- a/src/client/views/SidebarAnnos.tsx +++ b/src/client/views/SidebarAnnos.tsx @@ -72,7 +72,8 @@ export class SidebarAnnos extends React.Component<FieldViewProps & ExtraProps> { }); FormattedTextBox.SelectOnLoad = target[Id]; FormattedTextBox.DontSelectInitialText = true; - DocUtils.MakeLink({ doc: anchor }, { doc: target }, 'inline comment:comment on'); + const link = DocUtils.MakeLink({ doc: anchor }, { doc: target }, 'inline comment:comment on'); + link && (link.linkDisplay = false); const taggedContent = this.docFilters() .filter(data => data.split(':')[0]) |
