aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-04-12 11:18:23 -0400
committerbob <bcz@cs.brown.edu>2019-04-12 11:18:23 -0400
commit0c9d3637bde9825efe93c55afce8270b2a2e979c (patch)
tree1f7a4b47c646d4ced928eea14fd9d9fab27bdd91 /src/client/views/nodes/DocumentView.tsx
parent343aeabf2cc3cab641944de16a95e5eb459a8e5f (diff)
cleaned up and enabled linking to a top-level document
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 649104d6c..06182d1a6 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -243,9 +243,6 @@ export class DocumentView extends React.Component<DocumentViewProps> {
if (de.data instanceof DragManager.LinkDragData) {
let sourceDoc: Document = de.data.linkSourceDocument;
let destDoc: Document = this.props.Document;
- if (this.props.isTopMost) {
- return;
- }
let linkDoc: Document = new Document();
destDoc.GetTAsync(KeyStore.Prototype, Document).then(protoDest =>