aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-07-22 17:30:35 -0400
committerSam Wilkins <samwilkins333@gmail.com>2019-07-22 17:30:35 -0400
commit19bcd75ff1a432e04e03897327b075ff3b9b8778 (patch)
tree8d6743edef4916b7f64321a815ec953014f3f566 /src/client/views/nodes/DocumentView.tsx
parentde46e5c8a6b484f56a18df53dded58697d6efa51 (diff)
parentfc1dbb1327d10bd1832d33a87d18cff1e836ecfb (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
:wq
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 5d3363d3a..907ba3713 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -351,7 +351,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
// @TODO: shouldn't always follow target context
let linkedFwdContextDocs = [first.length ? await (first[0].targetContext) as Doc : undefined, undefined];
- let linkedFwdPage = [first.length ? NumCast(first[0].linkedToPage, undefined) : undefined, undefined];
+ let linkedFwdPage = [first.length ? NumCast(first[0].anchor2Page, undefined) : undefined, undefined];
if (!linkedFwdDocs.some(l => l instanceof Promise)) {
let maxLocation = StrCast(linkedFwdDocs[0].maximizeLocation, "inTab");