Force “-” search to only return “-1” emoji
parent
5721f5f694
commit
65f046b5f3
|
@ -36,6 +36,10 @@ function search(value, maxResults = 75) {
|
|||
aIndex = index,
|
||||
length = 0
|
||||
|
||||
if (value == '-') {
|
||||
return [emojisList['-1']]
|
||||
}
|
||||
|
||||
for (let char of value.split('')) {
|
||||
length++
|
||||
|
||||
|
|
Loading…
Reference in New Issue