diff options
Diffstat (limited to 'webapp/components/suggestion')
-rw-r--r-- | webapp/components/suggestion/emoticon_provider.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/suggestion/emoticon_provider.jsx b/webapp/components/suggestion/emoticon_provider.jsx index 2af61ea9e..c2b6b9a50 100644 --- a/webapp/components/suggestion/emoticon_provider.jsx +++ b/webapp/components/suggestion/emoticon_provider.jsx @@ -90,8 +90,8 @@ export default class EmoticonProvider { const terms = matched.map((emoticon) => ':' + emoticon.name + ':'); + SuggestionStore.clearSuggestions(suggestionId); if (terms.length > 0) { - SuggestionStore.clearSuggestions(suggestionId); SuggestionStore.addSuggestions(suggestionId, terms, matched, EmoticonSuggestion, text); hasSuggestions = true; |