[Glitch] Removed extra pipes from regex.

Port 5b20284f6f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
master
PatOnTheBack 5 years ago committed by Thibaut Girka
parent 5c3171e8ea
commit 383136d9bb
  1. 2
      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) {

Loading…
Cancel
Save