lint & cleanup

This commit is contained in:
Henry Jameson 2021-06-11 11:52:50 +03:00
parent 5834790d0b
commit 9421501c1e
3 changed files with 9 additions and 15 deletions

View file

@ -320,7 +320,3 @@ export const preProcessPerLine = (html, greentext) => {
return { newHtml, lastMentions } return { newHtml, lastMentions }
} }
export const getHeadTailLinks = (html) => {
// Exported object properties
}

View file

@ -222,12 +222,12 @@
</span> </span>
</div> </div>
<div <div
class="heading-reply-row"
v-if="isReply || hasMentionsLine" v-if="isReply || hasMentionsLine"
class="heading-reply-row"
> >
<span <span
class="glued-label"
v-if="isReply" v-if="isReply"
class="glued-label"
> >
<StatusPopover <StatusPopover
v-if="!isPreview" v-if="!isPreview"
@ -301,6 +301,7 @@
</div> </div>
<StatusContent <StatusContent
ref="content"
:status="status" :status="status"
:no-heading="noHeading" :no-heading="noHeading"
:highlight="highlight" :highlight="highlight"
@ -309,7 +310,6 @@
@mediaplay="addMediaPlaying($event)" @mediaplay="addMediaPlaying($event)"
@mediapause="removeMediaPlaying($event)" @mediapause="removeMediaPlaying($event)"
@parseReady="setHeadTailLinks" @parseReady="setHeadTailLinks"
ref="content"
/> />
<div <div

View file

@ -52,9 +52,7 @@
:hide-mentions="hideMentions" :hide-mentions="hideMentions"
:greentext="mergedConfig.greentext" :greentext="mergedConfig.greentext"
@parseReady="setHeadTailLinks" @parseReady="setHeadTailLinks"
ref="text" />
>
</RichContent>
<MentionsLine <MentionsLine
v-if="!hideMentions && lastMentions.length > 0 && firstMentions.length === 0" v-if="!hideMentions && lastMentions.length > 0 && firstMentions.length === 0"
:mentions="lastMentions" :mentions="lastMentions"