diff options
| author | bobzel <zzzman@gmail.com> | 2023-04-05 12:19:01 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-04-05 12:19:01 -0400 |
| commit | e4b76f6c1dee63c49408c48d7b2bc98e62dc813a (patch) | |
| tree | 92c42b9bdce9d7432ea1498295a41684f680c9ab /src/client/views/SidebarAnnos.tsx | |
| parent | c5c2c309cd88bbeb2f1b668cb040cffaac9c8470 (diff) | |
adjusted general context menu items to always appear last. cleaned up makeLink api,
Diffstat (limited to 'src/client/views/SidebarAnnos.tsx')
| -rw-r--r-- | src/client/views/SidebarAnnos.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/SidebarAnnos.tsx b/src/client/views/SidebarAnnos.tsx index 48c0150e6..2d2b0f83e 100644 --- a/src/client/views/SidebarAnnos.tsx +++ b/src/client/views/SidebarAnnos.tsx @@ -74,7 +74,7 @@ export class SidebarAnnos extends React.Component<FieldViewProps & ExtraProps> { }); FormattedTextBox.SelectOnLoad = target[Id]; FormattedTextBox.DontSelectInitialText = true; - const link = DocUtils.MakeLink({ doc: anchor }, { doc: target }, 'inline comment:comment on'); + const link = DocUtils.MakeLink(anchor, target, { linkRelationship: 'inline comment:comment on' }); link && (link.linkDisplay = false); const taggedContent = this.docFilters() |
