lint & cleanup
This commit is contained in:
parent
80c9c105e8
commit
2be07be978
3 changed files with 9 additions and 15 deletions
|
@ -320,7 +320,3 @@ export const preProcessPerLine = (html, greentext) => {
|
|||
|
||||
return { newHtml, lastMentions }
|
||||
}
|
||||
|
||||
export const getHeadTailLinks = (html) => {
|
||||
// Exported object properties
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue