diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-11 11:52:50 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-11 11:52:50 +0300 |
| commit | 9421501c1e871129b11c42a672b12b70b0db4c4a (patch) | |
| tree | 57d26138333fd6f3b0dc8d9362e7f59433c24d56 | |
| parent | 5834790d0b38d487e314e8419509d162abbd6a80 (diff) | |
lint & cleanup
| -rw-r--r-- | src/components/rich_content/rich_content.jsx | 4 | ||||
| -rw-r--r-- | src/components/status/status.vue | 16 | ||||
| -rw-r--r-- | src/components/status_body/status_body.vue | 4 |
3 files changed, 9 insertions, 15 deletions
diff --git a/src/components/rich_content/rich_content.jsx b/src/components/rich_content/rich_content.jsx index f7fa4dce..78af0d9e 100644 --- a/src/components/rich_content/rich_content.jsx +++ b/src/components/rich_content/rich_content.jsx @@ -320,7 +320,3 @@ export const preProcessPerLine = (html, greentext) => { return { newHtml, lastMentions } } - -export const getHeadTailLinks = (html) => { - // Exported object properties -} diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 507e4192..be6458ae 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -222,15 +222,15 @@ </span> </div> <div - class="heading-reply-row" v-if="isReply || hasMentionsLine" - > + class="heading-reply-row" + > <span - class="glued-label" v-if="isReply" + class="glued-label" > <StatusPopover - v-if="!isPreview" + v-if="!isPreview" :status-id="status.parent_visible && status.in_reply_to_status_id" class="reply-to-popover" style="min-width: 0" @@ -301,6 +301,7 @@ </div> <StatusContent + ref="content" :status="status" :no-heading="noHeading" :highlight="highlight" @@ -309,23 +310,22 @@ @mediaplay="addMediaPlaying($event)" @mediapause="removeMediaPlaying($event)" @parseReady="setHeadTailLinks" - ref="content" /> <div v-if="inConversation && !isPreview && replies && replies.length" class="replies" - > + > <span class="faint">{{ $t('status.replies_list') }}</span> <StatusPopover v-for="reply in replies" :key="reply.id" :status-id="reply.id" - > + > <button class="button-unstyled -link reply-link" @click.prevent="gotoOriginal(reply.id)" - > + > {{ reply.name }} </button> </StatusPopover> diff --git a/src/components/status_body/status_body.vue b/src/components/status_body/status_body.vue index 799e812d..45d899fb 100644 --- a/src/components/status_body/status_body.vue +++ b/src/components/status_body/status_body.vue @@ -52,9 +52,7 @@ :hide-mentions="hideMentions" :greentext="mergedConfig.greentext" @parseReady="setHeadTailLinks" - ref="text" - > - </RichContent> + /> <MentionsLine v-if="!hideMentions && lastMentions.length > 0 && firstMentions.length === 0" :mentions="lastMentions" |
