diff options
author | bobzel <zzzman@gmail.com> | 2020-08-31 23:18:09 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-31 23:18:09 -0400 |
commit | fe4a45d0f63683c0f917b6e923e6d48b006e2701 (patch) | |
tree | 62e0454f537280d9f96fd2cd7d40b72eb05ee47c /src/client/views/linking/LinkMenuItem.tsx | |
parent | 284ee4620e941fcf986c97f6b330df19ad901e1f (diff) |
fixed addDocTab to not re-create the golden layout. fixed clicking tabs to register as an undo event. fixed color of links made in PDFs to be lightBlue. fixed default link behavior to be 'default'
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 05b6b584d..17549e3cf 100644 --- a/src/client/views/linking/LinkMenuItem.tsx +++ b/src/client/views/linking/LinkMenuItem.tsx @@ -157,7 +157,7 @@ export class LinkMenuItem extends React.Component<LinkMenuItemProps> { return; } - if (linkDoc.followLinkLocation && linkDoc.followLinkLocation !== "Default") { + if (linkDoc.followLinkLocation && linkDoc.followLinkLocation !== "default") { const annotationOn = this.props.destinationDoc.annotationOn as Doc; this.props.addDocTab(annotationOn instanceof Doc ? annotationOn : this.props.destinationDoc, StrCast(linkDoc.followLinkLocation)); if (annotationOn) { |