diff options
author | bobzel <zzzman@gmail.com> | 2020-09-10 11:57:01 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-10 11:57:01 -0400 |
commit | d673482563d161171568682d745996598228baf2 (patch) | |
tree | be14514794686a5d3eb4a9399bcc545a918c939b /src/client/views/linking/LinkMenuItem.tsx | |
parent | 75fa8e7e798566962d88fc3012c41c3179580e39 (diff) |
fixiing behavior of following link to target in a PDF that hasn't loaded its contents yet... need to wait. also fixed pdf titltes in lod view
Diffstat (limited to 'src/client/views/linking/LinkMenuItem.tsx')
-rw-r--r-- | src/client/views/linking/LinkMenuItem.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/linking/LinkMenuItem.tsx b/src/client/views/linking/LinkMenuItem.tsx index 32fc407f6..d3fbf39a2 100644 --- a/src/client/views/linking/LinkMenuItem.tsx +++ b/src/client/views/linking/LinkMenuItem.tsx @@ -166,7 +166,7 @@ export class LinkMenuItem extends React.Component<LinkMenuItemProps> { }); } } else { - DocumentManager.Instance.FollowLink(linkDoc, this.props.sourceDoc, doc => addDocTab(doc, "add:right"), false); + DocumentManager.Instance.FollowLink(linkDoc, sourceDoc, doc => addDocTab(doc, "add:right"), false); } linkDoc.linksToAnnotation && Hypothesis.scrollToAnnotation(StrCast(linkDoc.annotationId), destinationDoc); |