diff options
author | bobzel <zzzman@gmail.com> | 2022-11-16 16:26:31 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-11-16 16:26:31 -0500 |
commit | ae324ff50865929be836edf3bbf129207638a9c9 (patch) | |
tree | 6a337590344071657348264404a51e3650e693fb /src/client/views/nodes/ComparisonBox.tsx | |
parent | 2827ad04901e076ffa399f8b069eb64e8be64b6f (diff) |
big changes to make link following use the same code as pinning docs for trails.
Diffstat (limited to 'src/client/views/nodes/ComparisonBox.tsx')
-rw-r--r-- | src/client/views/nodes/ComparisonBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ComparisonBox.tsx b/src/client/views/nodes/ComparisonBox.tsx index d74da9748..dd03b9b99 100644 --- a/src/client/views/nodes/ComparisonBox.tsx +++ b/src/client/views/nodes/ComparisonBox.tsx @@ -103,7 +103,7 @@ export class ComparisonBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatabl <> <DocumentView ref={r => { - whichDoc !== targetDoc && r?.focus(whichDoc, {}); + whichDoc !== targetDoc && r?.focus(whichDoc, { instant: true }); }} {...OmitKeys(this.props, ['NativeWidth', 'NativeHeight']).omit} isContentActive={returnFalse} |