aboutsummaryrefslogtreecommitdiff
path: root/src/components/status_content
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-06-14 10:30:08 +0300
committerHenry Jameson <me@hjkos.com>2021-06-14 10:30:08 +0300
commitc21b1cf89840297a781e6adc66cc195b8741cac6 (patch)
tree7d397a0a8b792e4f5f83d80bcbb8c0b95fd2bbd1 /src/components/status_content
parent636dbdaba8375cb991368620419e2997df0f57a9 (diff)
do the impossible, fix the unfixable
Diffstat (limited to 'src/components/status_content')
-rw-r--r--src/components/status_content/status_content.js3
-rw-r--r--src/components/status_content/status_content.vue2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/components/status_content/status_content.js b/src/components/status_content/status_content.js
index 11a4974b..51895ef6 100644
--- a/src/components/status_content/status_content.js
+++ b/src/components/status_content/status_content.js
@@ -92,9 +92,6 @@ const StatusContent = {
StatusBody
},
methods: {
- setHeadTailLinks (headTailLinks) {
- this.$emit('parseReady', headTailLinks)
- },
setMedia () {
const attachments = this.attachmentSize === 'hide' ? this.status.attachments : this.galleryAttachments
return () => this.$store.dispatch('setMedia', attachments)
diff --git a/src/components/status_content/status_content.vue b/src/components/status_content/status_content.vue
index feb34d2c..2e71757d 100644
--- a/src/components/status_content/status_content.vue
+++ b/src/components/status_content/status_content.vue
@@ -5,7 +5,7 @@
:status="status"
:single-line="singleLine"
:hide-mentions="hideMentions"
- @parseReady="setHeadTailLinks"
+ @parseReady="$emit('parseReady', $event)"
>
<div v-if="status.poll && status.poll.options">
<poll :base-poll="status.poll" />