diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index 57a969c2a..d29d22f4a 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -2,9 +2,9 @@ import { mapState } from 'pinia' import nsfwImage from '../../assets/nsfw.png' import Flash from '../flash/flash.vue' +import Popover from '../popover/popover.vue' import StillImage from '../still-image/still-image.vue' import VideoAttachment from '../video_attachment/video_attachment.vue' -import Popover from '../popover/popover.vue' import { useInstanceStore } from 'src/stores/instance.js' import { useInstanceCapabilitiesStore } from 'src/stores/instance_capabilities.js' diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index ca5f395a6..1a1b84628 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -87,7 +87,7 @@ trigger="click" popover-class="popover popover-default description-popover" :trigger-attrs="{ 'class': 'button-default attachment-button -transparent', 'title': $t('status.attachment_description') }" - > + > diff --git a/src/components/emoji_input/emoji_input.js b/src/components/emoji_input/emoji_input.js index 6c4568d14..0cce2494d 100644 --- a/src/components/emoji_input/emoji_input.js +++ b/src/components/emoji_input/emoji_input.js @@ -589,7 +589,7 @@ const EmojiInput = { setCaret({ target: { selectionStart } }) { this.caret = selectionStart this.$nextTick(() => { - this.$refs.suggestorPopover.updateStyles() + this.$refs.suggestorPopover?.updateStyles() }) }, autoCompleteItemLabel(suggestion) { diff --git a/src/components/media_modal/media_modal.vue b/src/components/media_modal/media_modal.vue index 0011e70a5..f2f47a0b6 100644 --- a/src/components/media_modal/media_modal.vue +++ b/src/components/media_modal/media_modal.vue @@ -90,8 +90,8 @@
{{ $t('status.attachment_description') }} diff --git a/src/components/status_action_buttons/action_button.vue b/src/components/status_action_buttons/action_button.vue index 82b481127..a76af3809 100644 --- a/src/components/status_action_buttons/action_button.vue +++ b/src/components/status_action_buttons/action_button.vue @@ -26,7 +26,7 @@ />