diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-11-05 12:24:54 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-11-05 12:24:54 -0500 |
commit | 52e75012c37f5af6a695995d3c133e63e2e4b725 (patch) | |
tree | c9f8f4f62c5ad8fb8325fb5ab26dac6566e6eac3 /web | |
parent | c1ae28cc107725de1178951ca442a1c2156afe60 (diff) | |
download | chat-52e75012c37f5af6a695995d3c133e63e2e4b725.tar.gz chat-52e75012c37f5af6a695995d3c133e63e2e4b725.tar.bz2 chat-52e75012c37f5af6a695995d3c133e63e2e4b725.zip |
Fixed search autocomplete click handling
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/search_autocomplete.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/search_autocomplete.jsx b/web/react/components/search_autocomplete.jsx index 0be93b05a..419b6dbf4 100644 --- a/web/react/components/search_autocomplete.jsx +++ b/web/react/components/search_autocomplete.jsx @@ -62,7 +62,7 @@ export default class SearchAutocomplete extends React.Component { } handleDocumentClick(e) { - const container = $(ReactDOM.findDOMNode(this.refs.container)); + const container = $(ReactDOM.findDOMNode(this.refs.searchPopover)); if (!(container.is(e.target) || container.has(e.target).length > 0)) { this.setState({ |