From d3eb0f311a14daf895f479da791e4abaa9b91db2 Mon Sep 17 00:00:00 2001
From: Monika <monika_hedman@brown.edu>
Date: Tue, 25 Jun 2019 16:56:17 -0400
Subject: brb again

---
 src/client/views/search/SearchBox.tsx | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

(limited to 'src/client/views/search/SearchBox.tsx')

diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index bd2e40ed3..24e617f7f 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -52,8 +52,8 @@ export class SearchBox extends React.Component<SearchBoxProps> {
     @action.bound
     onChange(e: React.ChangeEvent<HTMLInputElement>) {
         this._searchString = e.target.value;
-        console.log(this._searchString)
-        e.stopPropagation();
+        // console.log(this._searchString)
+        // e.stopPropagation();
 
         if (this._searchString === "") {
             this._results = [];
@@ -85,9 +85,9 @@ export class SearchBox extends React.Component<SearchBoxProps> {
 
     @action
     submitSearch = async () => {
-        console.log("submitting")
+        // console.log("submitting")
         let query = this._searchString; // searchbox gets query
-        console.log(this._searchString)
+        // console.log(this._searchString)
         let results: Doc[];
 
         // query = this.props.getFinalQuery(query); // sends to filterbox to modify and gets final query back
@@ -107,7 +107,7 @@ export class SearchBox extends React.Component<SearchBoxProps> {
 
         runInAction(() => {
             this._resultsOpen = true;
-            console.log("opening results")
+            // console.log("opening results")
             this._results = results;
             this._openNoResults = true;
         });
@@ -175,8 +175,8 @@ export class SearchBox extends React.Component<SearchBoxProps> {
 
     @action.bound
     openSearch(e: React.PointerEvent) {
-        console.log("opening search")
-        e.stopPropagation();
+        // console.log("opening search")
+        // e.stopPropagation();
         // FilterBox.Instance.setPointerTime(e.timeStamp);
         this._openNoResults = false;
         FilterBox.Instance.closeFilter();
@@ -185,16 +185,16 @@ export class SearchBox extends React.Component<SearchBoxProps> {
 
     @action.bound
     closeSearch = () => {
-        console.log("closing search")
+        // console.log("closing search")
 
         FilterBox.Instance.closeFilter();
         this.closeResults();
-        console.log(this._resultsOpen)
+        // console.log(this._resultsOpen)
     }
 
     @action.bound
     closeResults() {
-        console.log("closing results")
+        // console.log("closing results")
         this._resultsOpen = false;
         this._results = [];
     }
-- 
cgit v1.2.3-70-g09d2

