diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-04 19:57:31 -0400 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-04 19:57:31 -0400 |
commit | de51f2f89cc5bec616ddd06b7647768dc61f9e74 (patch) | |
tree | 0ea1c47921e065814df124545ede4e86a4347291 /src | |
parent | a2182066e1eb53cfc0aff1ba65c8429c658aed6e (diff) |
Reverted one of the search drag changes
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/search/SearchItem.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/search/SearchItem.tsx b/src/client/views/search/SearchItem.tsx index f941152d2..6cedc7cfb 100644 --- a/src/client/views/search/SearchItem.tsx +++ b/src/client/views/search/SearchItem.tsx @@ -248,8 +248,7 @@ export class SearchItem extends React.Component<SearchItemProps> { <div title="Drag as document" onPointerDown={this.onPointerDown}> <FontAwesomeIcon icon="file" size="lg" /> </div> <div className="search-title" id="result" >{this.props.doc.title}</div> <div className="search-info" style={{ width: this._useIcons ? "15%" : "400px" }}> - <div className={`icon-${this._useIcons ? "icons" : "live"}`} ref={this.collectionRef} onPointerDown={ - SetupDrag(this.collectionRef, () => this.props.doc, undefined, undefined, undefined, undefined, () => SearchBox.Instance.closeSearch())}> + <div className={`icon-${this._useIcons ? "icons" : "live"}`}> <div className="search-type" >{this.DocumentIcon}</div> <div className="search-label">{this.props.doc.type}</div> </div> |