diff --git a/packages/dialtone-vue2/components/emoji_picker/modules/emoji_selector.vue b/packages/dialtone-vue2/components/emoji_picker/modules/emoji_selector.vue index 5255579bc5..27dcbab629 100644 --- a/packages/dialtone-vue2/components/emoji_picker/modules/emoji_selector.vue +++ b/packages/dialtone-vue2/components/emoji_picker/modules/emoji_selector.vue @@ -284,7 +284,7 @@ export default { } }, - searchByNameAndKeywords: function () { + searchByNameAndKeywords() { const searchStr = this.emojiFilter.toLowerCase(); this.filteredEmojis = this.currentEmojis.filter(function (obj) { const nameIncludesSearchStr = obj.name.toLowerCase().includes(searchStr); @@ -368,7 +368,7 @@ export default { this.focusEmoji(0, 0); }, - hoverEmoji: function (emoji, isFirst) { + hoverEmoji (emoji, isFirst) { if (isFirst === undefined) { isFirst = false; } this.hoverFirstEmoji = isFirst; this.$emit('highlighted-emoji', emoji); @@ -535,7 +535,7 @@ export default { } }, - handleKeyDownFilteredEmojis: function (event, indexEmoji, emoji) { + handleKeyDownFilteredEmojis (event, indexEmoji, emoji) { event.preventDefault(); this.hoverFirstEmoji = false;