aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search/SearchBox.tsx
diff options
context:
space:
mode:
authorMonika <monika_hedman@brown.edu>2019-06-25 16:44:16 -0400
committerMonika <monika_hedman@brown.edu>2019-06-25 16:44:16 -0400
commit99fced94b77f2e1d5ba525c4ef3fb9892267f8b7 (patch)
tree757c406a90d78aa90248af71f9f2d2c2b4537021 /src/client/views/search/SearchBox.tsx
parent70023ce43fe52264ce5c6ce43e9124c5f5798090 (diff)
brb need to check other commit
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
-rw-r--r--src/client/views/search/SearchBox.tsx10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index b371df380..bd2e40ed3 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -39,16 +39,6 @@ export class SearchBox extends React.Component<SearchBoxProps> {
SearchBox.Instance = this;
}
- // componentDidMount = () => {
- // document.addEventListener("pointerdown", (e) => {
- // console.log(e.timeStamp, FilterBox.Instance._pointerTime)
- // console.log("this is in the click for determining whether or not to close search")
- // if (e.timeStamp !== FilterBox.Instance._pointerTime) {
- // this.closeSearch();
- // }
- // });
- // }
-
@action
getViews = async (doc: Doc) => {
const results = await SearchUtil.GetViewsOfDocument(doc);