Skip to content

Commit

Permalink
Handle β€œ-1” search
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneLem committed Oct 14, 2016
1 parent dc93357 commit 44f9914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/emoji-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function search(value, maxResults = 75) {
aIndex = index,
length = 0

if (value == '-') {
if (value == '-' || value == '-1') {
return [emojisList['-1']]
}

Expand Down

0 comments on commit 44f9914

Please sign in to comment.