diff --git a/packages/frontend/src/components/MkEmojiPicker.section.vue b/packages/frontend/src/components/MkEmojiPicker.section.vue index 829515557878..17f7ba197e82 100644 --- a/packages/frontend/src/components/MkEmojiPicker.section.vue +++ b/packages/frontend/src/components/MkEmojiPicker.section.vue @@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only :data-emoji="emoji" class="_button item" :disabled="disabledEmojis?.value.includes(emoji)" - @pointerenter="computeButtonTitle" + @pointerenter.once="computeButtonTitle" @click="emit('chosen', emoji, $event)" > @@ -50,7 +50,7 @@ SPDX-License-Identifier: AGPL-3.0-only :data-emoji="emoji" class="_button item" :disabled="disabledEmojis?.value.includes(emoji)" - @pointerenter="computeButtonTitle" + @pointerenter.once="computeButtonTitle" @click="emit('chosen', emoji, $event)" > diff --git a/packages/frontend/src/components/MkEmojiPicker.vue b/packages/frontend/src/components/MkEmojiPicker.vue index f09e810ac455..734f99888875 100644 --- a/packages/frontend/src/components/MkEmojiPicker.vue +++ b/packages/frontend/src/components/MkEmojiPicker.vue @@ -66,7 +66,7 @@ SPDX-License-Identifier: AGPL-3.0-only class="_button item" :disabled="!canReact(emoji)" tabindex="0" - @pointerenter="computeButtonTitle" + @pointerenter.once="computeButtonTitle" @click="chosen(emoji, $event)" > @@ -84,7 +84,7 @@ SPDX-License-Identifier: AGPL-3.0-only class="_button item" :disabled="!canReact(emoji)" :data-emoji="getKey(emoji)" - @pointerenter="computeButtonTitle" + @pointerenter.once="computeButtonTitle" @click="chosen(emoji, $event)" > diff --git a/packages/frontend/src/components/global/MkCustomEmoji.vue b/packages/frontend/src/components/global/MkCustomEmoji.vue index 75df489d218e..ee64c8e8b5a4 100644 --- a/packages/frontend/src/components/global/MkCustomEmoji.vue +++ b/packages/frontend/src/components/global/MkCustomEmoji.vue @@ -18,8 +18,8 @@ SPDX-License-Identifier: AGPL-3.0-only :alt="alt" :title="alt" decoding="async" - @error="errored = true" - @load="errored = false" + @error.once="errored = true" + @load.once="errored = false" @click="onClick" /> diff --git a/packages/frontend/src/components/global/MkEmoji.vue b/packages/frontend/src/components/global/MkEmoji.vue index e3e5c302bc8c..e4a0b8ce8698 100644 --- a/packages/frontend/src/components/global/MkEmoji.vue +++ b/packages/frontend/src/components/global/MkEmoji.vue @@ -4,8 +4,8 @@ SPDX-License-Identifier: AGPL-3.0-only -->