fix errors in console

This commit is contained in:
Henry Jameson 2026-05-19 18:14:19 +03:00
commit 2d07671552
3 changed files with 3 additions and 3 deletions

View file

@ -589,7 +589,7 @@ const EmojiInput = {
setCaret({ target: { selectionStart } }) { setCaret({ target: { selectionStart } }) {
this.caret = selectionStart this.caret = selectionStart
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.suggestorPopover.updateStyles() this.$refs.suggestorPopover?.updateStyles()
}) })
}, },
autoCompleteItemLabel(suggestion) { autoCompleteItemLabel(suggestion) {

View file

@ -26,7 +26,7 @@
/> />
<template v-if="!buttonClass.disabled && (!button.interactive || button?.interactive(funcArg)) && button.toggleable?.(funcArg) && button.active"> <template v-if="!buttonClass.disabled && (!button.interactive || button?.interactive(funcArg)) && button.toggleable?.(funcArg) && button.active">
<FAIcon <FAIcon
v-if="button.active(funcArg)" v-if="button.active(funcArg) && button.activeIndicator?.() !== null"
class="active-marker" class="active-marker"
transform="shrink-6 up-9 left-12" transform="shrink-6 up-9 left-12"
:icon="button.activeIndicator?.(funcArg) || 'check'" :icon="button.activeIndicator?.(funcArg) || 'check'"

View file

@ -21,7 +21,7 @@ export const BUTTONS = [
anonLink: true, anonLink: true,
toggleable: true, toggleable: true,
closeIndicator: 'times', closeIndicator: 'times',
activeIndicator: 'none', activeIndicator: null,
action({ emit }) { action({ emit }) {
emit('toggleReplying') emit('toggleReplying')
return Promise.resolve() return Promise.resolve()