aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMohammad Amoush <mohammad_amoush@brown.edu>2019-09-15 16:45:47 -0400
committerMohammad Amoush <mohammad_amoush@brown.edu>2019-09-15 16:45:47 -0400
commit9e2343a94a70559f50694da3687f5c297dd4eca0 (patch)
tree7c4bee27a7a094b75afad24768e3c183d7d3f275 /src
parent3f38401ee477bd37ad95e5170783ca406437e195 (diff)
cleaning code
Diffstat (limited to 'src')
-rw-r--r--src/client/views/linking/LinkFollowBox.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/linking/LinkFollowBox.tsx b/src/client/views/linking/LinkFollowBox.tsx
index 66661d178..9c65bbcf9 100644
--- a/src/client/views/linking/LinkFollowBox.tsx
+++ b/src/client/views/linking/LinkFollowBox.tsx
@@ -259,8 +259,7 @@ export class LinkFollowBox extends React.Component<FieldViewProps> {
if (guid) {
LinkFollowBox.destinationDoc.guid = guid;
} else {
- jumpToDoc.linkHref = Utils.prepend("/doc/" + StrCast(LinkFollowBox.sourceDoc[Id]));
- // jumpToDoc.linkHref = Utils.prepend("/doc/" + StrCast(LinkFollowBox.linkDoc[Id]));
+ jumpToDoc.linkHref = Utils.prepend("/doc/" + StrCast(LinkFollowBox.linkDoc[Id]));
let newguid = Utils.GenerateGuid();
LinkFollowBox.linkDoc.guid = newguid;
LinkFollowBox.destinationDoc.guid = newguid;