diff options
| author | monikahedman <monika_hedman@brown.edu> | 2019-07-14 12:56:11 -0400 |
|---|---|---|
| committer | monikahedman <monika_hedman@brown.edu> | 2019-07-14 12:56:11 -0400 |
| commit | 7cd915c98db61e646ab34184613c1f6364cb620e (patch) | |
| tree | db44d787964be0e6df5be473954543b3ed01ca4e /src/client/views/search/SearchBox.tsx | |
| parent | 81d23dbd7b918fd1812b770960687bc8a12a0a34 (diff) | |
submit button added
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 7dcfbe1ef..cddc56a8a 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -176,6 +176,7 @@ export class SearchBox extends React.Component { <input value={this._searchString} onChange={this.onChange} type="text" placeholder="Search..." className="searchBox-barChild searchBox-input" onPointerDown={this.openSearch} onKeyPress={this.enter} style={{ width: this._resultsOpen ? "500px" : "100px" }} /> + <button className="searchBox-barChild searchBox-submit" onClick={this.submitSearch} onPointerDown={FilterBox.Instance.stopProp}>Submit</button> <button className="searchBox-barChild searchBox-filter" onClick={FilterBox.Instance.openFilter} onPointerDown={FilterBox.Instance.stopProp}>Filter</button> </div> <div className="searchBox-results" style={this._resultsOpen ? { display: "flex" } : { display: "none" }}> |
