aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DragManager.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-03-18 03:42:06 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-03-18 03:42:06 -0400
commit1a81b9f6255b2b2941e21da3662b9c5e71209989 (patch)
tree2d0bbc5d258c59148bf56533ef32723af8c8eb5f /src/client/util/DragManager.ts
parenta300c4e5040e975cdcd7367a1345335d52ff6aad (diff)
parent6d5236bf6440157ad4d489acd1420554b77be577 (diff)
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web into server_dev
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r--src/client/util/DragManager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index 4a61220a5..c0abec407 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -123,7 +123,7 @@ export namespace DragManager {
// however, PDF's have a thumbnail field that contains an image of their canvas.
// So we replace the pdf's canvas with the image thumbnail
const docView: DocumentView = dragData["documentView"];
- const doc: Document = docView ? docView.props.Document : dragData["document"];
+ const doc: Document = dragData["document"];
if (doc) {
var pdfBox = dragElement.getElementsByClassName("pdfBox-cont")[0] as HTMLElement;