diff --git a/app/javascript/gabsocial/actions/lists.js b/app/javascript/gabsocial/actions/lists.js index 858a137f..f943c5cf 100644 --- a/app/javascript/gabsocial/actions/lists.js +++ b/app/javascript/gabsocial/actions/lists.js @@ -289,8 +289,6 @@ export const fetchListAccountsFail = (id, error) => ({ export const fetchListSuggestions = (q) => (dispatch, getState) => { if (!me) return - return false - const params = { q, resolve: false, diff --git a/app/javascript/gabsocial/features/list_edit.js b/app/javascript/gabsocial/features/list_edit.js index ce983a10..6f5e8b4e 100644 --- a/app/javascript/gabsocial/features/list_edit.js +++ b/app/javascript/gabsocial/features/list_edit.js @@ -74,9 +74,7 @@ class ListEdit extends ImmutablePureComponent { } handleSearchSuggestionsKeyUp = (e) => { - if (e.keyCode === 13) { - this.props.onSubmitSearchSuggestions(this.props.searchSuggestionsValue) - } + this.props.onSubmitSearchSuggestions(this.props.searchSuggestionsValue) } handleSearchSuggestionsSubmit = () => {