diff options
Diffstat (limited to 'webapp/components/suggestion/search_suggestion_list.jsx')
-rw-r--r-- | webapp/components/suggestion/search_suggestion_list.jsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webapp/components/suggestion/search_suggestion_list.jsx b/webapp/components/suggestion/search_suggestion_list.jsx index 628f93af0..99262109a 100644 --- a/webapp/components/suggestion/search_suggestion_list.jsx +++ b/webapp/components/suggestion/search_suggestion_list.jsx @@ -12,6 +12,10 @@ import {FormattedMessage} from 'react-intl'; import {Popover} from 'react-bootstrap'; export default class SearchSuggestionList extends SuggestionList { + static propTypes = { + ...SuggestionList.propTypes + }; + getContent() { return $(ReactDOM.findDOMNode(this.refs.popover)).find('.popover-content'); } @@ -92,7 +96,3 @@ export default class SearchSuggestionList extends SuggestionList { ); } } - -SearchSuggestionList.propTypes = { - ...SuggestionList.propTypes -}; |