diff options
| author | yipstanley <stanley_yip@brown.edu> | 2019-07-12 18:55:26 -0400 |
|---|---|---|
| committer | yipstanley <stanley_yip@brown.edu> | 2019-07-12 18:55:26 -0400 |
| commit | 1dceb81a4b0a5c0e5b0c620b9cce2cebaa8430bd (patch) | |
| tree | 9f30909b455b3101b7ee64b5ee378b61a225c298 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | 5020534fd61f4c77d9e823cc04852b6dd0c90943 (diff) | |
| parent | 0c4fe96495ea73c16dcf189b09dbceb44943b8ba (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index 1a7ccffa5..e5cee188f 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -430,7 +430,7 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp stack.header.element[0].style.backgroundColor = DocServer.Control.isReadOnly() ? "#228540" : undefined; stack.header.element.on('mousedown', (e: any) => { if (e.target === stack.header.element[0] && e.button === 1) { - this.AddTab(stack, Docs.FreeformDocument([], { width: this.props.PanelWidth(), height: this.props.PanelHeight(), title: "Untitled Collection" }), undefined); + this.AddTab(stack, Docs.Create.FreeformDocument([], { width: this.props.PanelWidth(), height: this.props.PanelHeight(), title: "Untitled Collection" }), undefined); } }); stack.header.controlsContainer.find('.lm_close') //get the close icon |
