~cytrogen/masto-fe

5b20284f6f7ebb2514d81fb27fcaa40f8edf14ff — PatOnTheBack 6 years ago 07508b2
Removed extra pipes from regex. (#11181)

1 files changed, 1 insertions(+), 1 deletions(-)

M app/javascript/mastodon/features/emoji/emoji_mart_search_light.js
M app/javascript/mastodon/features/emoji/emoji_mart_search_light.js => app/javascript/mastodon/features/emoji/emoji_mart_search_light.js +1 -1
@@ 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) {