From 44f9914b2503d44717fbb8a334d6f96c66a4d491 Mon Sep 17 00:00:00 2001 From: Etienne Lemay Date: Fri, 14 Oct 2016 15:43:18 -0400 Subject: [PATCH] =?UTF-8?q?Handle=20=E2=80=9C-1=E2=80=9D=20search?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/emoji-index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/emoji-index.js b/src/utils/emoji-index.js index 107e96e..bebd41c 100644 --- a/src/utils/emoji-index.js +++ b/src/utils/emoji-index.js @@ -36,7 +36,7 @@ function search(value, maxResults = 75) { aIndex = index, length = 0 - if (value == '-') { + if (value == '-' || value == '-1') { return [emojisList['-1']] }