diff options
author | ThibG <thib@sitedethib.com> | 2019-06-27 16:43:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-27 16:43:55 +0200 |
commit | 2f95adc06fbfae22e8f9b4df212938108f5e295c (patch) | |
tree | 13ff1b5ae743f3d147eb58dfa4a790ef1a7c049d /app/javascript/flavours/glitch/util/emoji | |
parent | 9ef25877dfda12cf31ec586294e4d4908f5be4f0 (diff) | |
parent | 6ab7051b48dcb1d45c377a129350db1fdeaf11b8 (diff) |
Merge pull request #1142 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/util/emoji')
-rw-r--r-- | app/javascript/flavours/glitch/util/emoji/emoji_mart_search_light.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/util/emoji/emoji_mart_search_light.js b/app/javascript/flavours/glitch/util/emoji/emoji_mart_search_light.js index 164fdcc0b..e4519a13e 100644 --- a/app/javascript/flavours/glitch/util/emoji/emoji_mart_search_light.js +++ b/app/javascript/flavours/glitch/util/emoji/emoji_mart_search_light.js @@ -74,7 +74,7 @@ function search(value, { emojisToShowFilter, maxResults, include, exclude, custo return [emojisList['-1']]; } - let values = value.toLowerCase().split(/[\s|,|\-|_]+/), + let values = value.toLowerCase().split(/[\s|,\-_]+/), allResults = []; if (values.length > 2) { |