aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PropertiesButtons.tsx
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-29 15:31:40 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-29 15:31:40 -0500
commitb10f96c6a8b3187707b6d7356e7b0fea9b8b6e72 (patch)
treee992a0b8b6d77ad0e0335062ffdb7739f61becb5 /src/client/views/PropertiesButtons.tsx
parent82fc9c937fbe1edd7f7360eb7f99a38d002b9787 (diff)
tried making documents into buttons
Diffstat (limited to 'src/client/views/PropertiesButtons.tsx')
-rw-r--r--src/client/views/PropertiesButtons.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/PropertiesButtons.tsx b/src/client/views/PropertiesButtons.tsx
index eecf670e6..3113d8cb4 100644
--- a/src/client/views/PropertiesButtons.tsx
+++ b/src/client/views/PropertiesButtons.tsx
@@ -392,10 +392,10 @@ export class PropertiesButtons extends React.Component<{}, {}> {
this.selectedDocumentView?.toggleDetail();
} else if (value === "linkInPlace") {
this.selectedDocumentView?.noOnClick();
- this.selectedDocumentView?.toggleFollowInPlace();
+ this.selectedDocumentView?.toggleFollowLink("inPlace", true, false);
} else if (value === "linkOnRight") {
this.selectedDocumentView?.noOnClick();
- this.selectedDocumentView?.toggleFollowOnRight();
+ this.selectedDocumentView?.toggleFollowLink("onRight", false, false);
}
}