diff options
| author | madelinegr <laura_wilson@brown.edu> | 2019-02-27 15:52:59 -0500 |
|---|---|---|
| committer | madelinegr <laura_wilson@brown.edu> | 2019-02-27 15:52:59 -0500 |
| commit | 4d356d098e44d3d736358d166e905aec1de9c4d6 (patch) | |
| tree | b4d00bebaa3bd76378ef0205855ea810b0e44e89 /src/client/views/collections/CollectionViewBase.tsx | |
| parent | f7829f425e1ccbc6baa2059c91fa914d21963440 (diff) | |
| parent | c6ce284c0938587df5a0fa759587b33f8beaa68f (diff) | |
merged
Diffstat (limited to 'src/client/views/collections/CollectionViewBase.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionViewBase.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionViewBase.tsx b/src/client/views/collections/CollectionViewBase.tsx index 217536e2b..7067724c8 100644 --- a/src/client/views/collections/CollectionViewBase.tsx +++ b/src/client/views/collections/CollectionViewBase.tsx @@ -67,7 +67,7 @@ export class CollectionViewBase extends React.Component<SubCollectionViewProps> let html = e.dataTransfer.getData("text/html"); let text = e.dataTransfer.getData("text/plain"); if (html && html.indexOf("<img") != 0) { - let htmlDoc = Documents.HtmlDocument(html, { ...options }); + let htmlDoc = Documents.HtmlDocument(html, { ...options, width: 300, height: 300 }); htmlDoc.SetText(KeyStore.DocumentText, text); this.props.addDocument(htmlDoc); return; |
