diff options
author | bobzel <zzzman@gmail.com> | 2019-03-17 23:10:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-17 23:10:31 -0400 |
commit | 405a47781d73a64b8e452ed5cae6e8fbd0e3cf0e (patch) | |
tree | 0357c8a2beca18f522e9b150e5e2e5e3ad2863fc /src/client/util/DragManager.ts | |
parent | 8433cc2b1c4d838930c3812d140678011b06e728 (diff) | |
parent | 54371ab69c87eb6b802f83cc311e3ef7900c4d65 (diff) |
Merge pull request #61 from browngraphicslab/view_doc_impl
view doc stuff
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r-- | src/client/util/DragManager.ts | 2 |
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; |