aboutsummaryrefslogtreecommitdiff
path: root/src/components/emoji-input/emoji-input.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/emoji-input/emoji-input.js')
-rw-r--r--src/components/emoji-input/emoji-input.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/emoji-input/emoji-input.js b/src/components/emoji-input/emoji-input.js
index 64932f0e..a5bb6eaf 100644
--- a/src/components/emoji-input/emoji-input.js
+++ b/src/components/emoji-input/emoji-input.js
@@ -23,8 +23,7 @@ const EmojiInput = {
if (matchedEmoji.length <= 0) {
return false
}
- // eslint-disable-next-line camelcase
- return map(take(matchedEmoji, 5), ({ shortcode, image_url, utf }, index) => ({
+ return map(take(matchedEmoji, 5), ({shortcode, image_url, utf}, index) => ({
shortcode: `:${shortcode}:`,
utf: utf || '',
// eslint-disable-next-line camelcase
@@ -99,7 +98,7 @@ const EmojiInput = {
onInput (e) {
this.$emit('input', e.target.value)
},
- setCaret ({ target: { selectionStart } }) {
+ setCaret ({target: {selectionStart}}) {
this.caret = selectionStart
}
}