diff options
| author | bob <bcz@cs.brown.edu> | 2020-02-20 15:59:53 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2020-02-20 15:59:53 -0500 |
| commit | 6e5abc3052f4df09b156deccdfe6a7b0b62f492b (patch) | |
| tree | cb90cac3ed45ee8154afd2e95d3e39bdf97e44cd /src/client/views/nodes/PresBox.tsx | |
| parent | 7a7105d8867e4b1c91e020f54dc8e9b3be563587 (diff) | |
cleaned up a whole bunch of linking stuff. link menu / link types / link default behaviors / added LinkBox
Diffstat (limited to 'src/client/views/nodes/PresBox.tsx')
| -rw-r--r-- | src/client/views/nodes/PresBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx index 8d20bbe59..791ed5ef1 100644 --- a/src/client/views/nodes/PresBox.tsx +++ b/src/client/views/nodes/PresBox.tsx @@ -187,7 +187,7 @@ export class PresBox extends React.Component<FieldViewProps> { //docToJump stayed same meaning, it was not in the group or was the last element in the group const aliasOf = await Cast(docToJump.aliasOf, Doc); - const srcContext = aliasOf && await Cast(aliasOf.sourceContext, Doc); + const srcContext = aliasOf && await Cast(aliasOf.anchor1Context, Doc); if (docToJump === curDoc) { //checking if curDoc has navigation open const target = await Cast(curDoc.presentationTargetDoc, Doc); |
