diff options
| author | bob <bcz@cs.brown.edu> | 2019-02-27 14:32:56 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-02-27 14:32:56 -0500 |
| commit | 42b2b9df4e502986d630df40e12f78d7fa54667b (patch) | |
| tree | 4a1bc328f7a7a037c0de0f672685b35973722901 /src/client/views/collections/CollectionViewBase.tsx | |
| parent | 498f915675c1a7e6a3c3b332a2ecc77222bb4785 (diff) | |
| parent | 7fb76d3609a012e5cb6342872b66993771696996 (diff) | |
merged with master. fixed select on load.
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; |
