aboutsummaryrefslogtreecommitdiff
path: root/src/components/emoji_input/emoji_input.vue
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-11-19 11:37:06 +0200
committerShpuld Shpuldson <shp@cock.li>2020-11-19 11:37:06 +0200
commit1495db084ae49cc5133678d61e19d90333cbe31d (patch)
tree45fb8a4b2a04b1767c371da87fc51fae28fa4075 /src/components/emoji_input/emoji_input.vue
parent0f386ccbc7115fd1d74615377beca9982dec00bf (diff)
fix keyboard highlight
Diffstat (limited to 'src/components/emoji_input/emoji_input.vue')
-rw-r--r--src/components/emoji_input/emoji_input.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/emoji_input/emoji_input.vue b/src/components/emoji_input/emoji_input.vue
index 224e72cf..107e16c1 100644
--- a/src/components/emoji_input/emoji_input.vue
+++ b/src/components/emoji_input/emoji_input.vue
@@ -37,7 +37,7 @@
v-for="(suggestion, index) in suggestions"
:key="index"
class="autocomplete-item"
- :class="{ highlighted: suggestion.highlighted }"
+ :class="{ highlighted: index === highlighted }"
@click.stop.prevent="onClick($event, suggestion)"
>
<span class="image">