aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DocumentManager.ts
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-10-14 02:46:05 +0800
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-10-14 02:46:05 +0800
commite1f733fa7e2772c7d0c2d77d890005b7bcb0dd79 (patch)
treef72f22559fa14b480c9767cc5d4facff2317ec61 /src/client/util/DocumentManager.ts
parent80ccba05db32ca09ac513f3ec370f3deef873ce7 (diff)
parentd87cd4f20a8b5b4f33d799a4ef42fb14337638a5 (diff)
Merge branch 'master' into presentation_v1
Diffstat (limited to 'src/client/util/DocumentManager.ts')
-rw-r--r--src/client/util/DocumentManager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts
index b37181e57..a408e1df6 100644
--- a/src/client/util/DocumentManager.ts
+++ b/src/client/util/DocumentManager.ts
@@ -220,7 +220,7 @@ export class DocumentManager {
}
} else { // there's no context view so we need to create one first and try again when that finishes
createViewFunc(targetDocContext, // after creating the context, this calls the finish function that will retry looking for the target
- () => this.jumpToDocument(targetDoc, willZoom, createViewFunc, undefined, linkDoc, true /* if we don't find the target, we want to get rid of the context just created */, undefined, finished));
+ () => this.jumpToDocument(targetDoc, willZoom, createViewFunc, docContext, linkDoc, true /* if we don't find the target, we want to get rid of the context just created */, undefined, finished));
}
}
}