aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-04-12 11:02:30 -0400
committerbob <bcz@cs.brown.edu>2019-04-12 11:02:30 -0400
commit343aeabf2cc3cab641944de16a95e5eb459a8e5f (patch)
treedc734f82f7332df6fdb77a991f2e26b328e292ed /src/client/views/nodes/DocumentView.tsx
parentfd8e6bf2cacf8bed7c3363eeb777c731741266d5 (diff)
added link count to tabs. changed tabs to drag document with no mods, and drag tab with shift
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 9c31a83c1..649104d6c 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -241,7 +241,7 @@ export class DocumentView extends React.Component<DocumentViewProps> {
@action
drop = (e: Event, de: DragManager.DropEvent) => {
if (de.data instanceof DragManager.LinkDragData) {
- let sourceDoc: Document = de.data.linkSourceDocumentView.props.Document;
+ let sourceDoc: Document = de.data.linkSourceDocument;
let destDoc: Document = this.props.Document;
if (this.props.isTopMost) {
return;