aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/SidebarAnnos.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-11-04 14:34:46 -0400
committerbobzel <zzzman@gmail.com>2022-11-04 14:34:46 -0400
commit31a51e9dda07e48c88166bffbc8f1ad7166cd624 (patch)
tree848060dc1d5c358b2f5d2576e4269265a3f143fe /src/client/views/SidebarAnnos.tsx
parentfe98c7d46df1852a74cd84dbe9ad010bfb3d5550 (diff)
more fixes to sidebar annotations of pdfs to improve link following.
Diffstat (limited to 'src/client/views/SidebarAnnos.tsx')
-rw-r--r--src/client/views/SidebarAnnos.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/SidebarAnnos.tsx b/src/client/views/SidebarAnnos.tsx
index c285b2e34..ec68a6b36 100644
--- a/src/client/views/SidebarAnnos.tsx
+++ b/src/client/views/SidebarAnnos.tsx
@@ -98,9 +98,10 @@ export class SidebarAnnos extends React.Component<FieldViewProps & ExtraProps> {
{
type: 'linkAnchor',
attrs: {
- allAnchors: [{ href: `/doc/${target[Id]}`, title: 'Anchored Selection', noPreview: true, anchorId: `${target[Id]}` }],
+ allAnchors: [{ href: `/doc/${target[Id]}`, title: 'Anchored Selection', anchorId: `${target[Id]}` }],
location: 'add:right',
title: 'Anchored Selection',
+ noPreview: true,
docref: false,
},
},