diff options
| author | andrewdkim <adkim414@gmail.com> | 2019-09-17 17:01:39 -0400 |
|---|---|---|
| committer | andrewdkim <adkim414@gmail.com> | 2019-09-17 17:01:39 -0400 |
| commit | cd052ac6bd318a0569c66ca1fba684b7dbdaaca9 (patch) | |
| tree | 29b3086762f70965f6be2c586180bf3c4c252688 /src/client/views/search | |
| parent | 02119d9fa648ed530d956889a2244875978ad093 (diff) | |
| parent | 1310633790e3db50a31a1cc6d357306d7884a053 (diff) | |
merge
Diffstat (limited to 'src/client/views/search')
| -rw-r--r-- | src/client/views/search/SearchItem.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/search/SearchItem.tsx b/src/client/views/search/SearchItem.tsx index cd3dd912c..510672788 100644 --- a/src/client/views/search/SearchItem.tsx +++ b/src/client/views/search/SearchItem.tsx @@ -270,7 +270,7 @@ export class SearchItem extends React.Component<SearchItemProps> { onPointerDown = (e: React.PointerEvent<HTMLDivElement>) => { e.stopPropagation(); const doc = Doc.IsPrototype(this.props.doc) ? Doc.MakeDelegate(this.props.doc) : this.props.doc; - DragManager.StartDocumentDrag([e.currentTarget], new DragManager.DocumentDragData([doc], []), e.clientX, e.clientY, { + DragManager.StartDocumentDrag([e.currentTarget], new DragManager.DocumentDragData([doc]), e.clientX, e.clientY, { handlers: { dragComplete: emptyFunction }, hideSource: false, }); |
