Browse Source

Removed extra pipes from regex. (#11181)

pull/4/head
PatOnTheBack 4 years ago
committed by Eugen Rochko
parent
commit
5b20284f6f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/emoji/emoji_mart_search_light.js

+ 1
- 1
app/javascript/mastodon/features/emoji/emoji_mart_search_light.js View File

@ -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