about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorPatOnTheBack <51241310+PatOnTheBack@users.noreply.github.com>2019-06-25 20:16:24 -0400
committerEugen Rochko <eugen@zeonfederated.com>2019-06-26 02:16:24 +0200
commit5b20284f6f7ebb2514d81fb27fcaa40f8edf14ff (patch)
tree37bb6dc779bdb21d4e4d1db16332749ea8e2d127 /app/javascript
parent07508b20457958fd193b02af2af62cf76ec64356 (diff)
Removed extra pipes from regex. (#11181)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/features/emoji/emoji_mart_search_light.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/emoji/emoji_mart_search_light.js b/app/javascript/mastodon/features/emoji/emoji_mart_search_light.js
index 164fdcc0b..e4519a13e 100644
--- a/app/javascript/mastodon/features/emoji/emoji_mart_search_light.js
+++ b/app/javascript/mastodon/features/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) {