fix eslint warnings

This commit is contained in:
taehoon 2019-07-07 22:42:08 -04:00
parent 1504b272d2
commit e834b9d88b

View file

@ -170,18 +170,32 @@
</div> </div>
<div class="heading-reply-row"> <div class="heading-reply-row">
<div v-if="isReply" class="reply-to-and-accountname"> <div
<Popper ref="statusPreviewPopper" :options="{ placement: 'top-start' }" @show="replyEnter(status.in_reply_to_status_id)"> v-if="isReply"
class="reply-to-and-accountname"
>
<Popper
ref="statusPreviewPopper"
:options="{ placement: 'top-start' }"
@show="replyEnter(status.in_reply_to_status_id)"
>
<div class="popper-wrapper status-preview"> <div class="popper-wrapper status-preview">
<div class="popper-wrapper-inner" @mouseover.prevent.stop @focus.prevent.stop> <div
class="popper-wrapper-inner"
@mouseover.prevent.stop
@focus.prevent.stop
>
<status <status
v-if="preview" v-if="preview"
:isPreview="true" :is-preview="true"
:statusoid="preview" :statusoid="preview"
:compact="true" :compact="true"
/> />
<div v-else class="status-preview-loading"> <div
<i class="icon-spin4 animate-spin"></i> v-else
class="status-preview-loading"
>
<i class="icon-spin4 animate-spin" />
</div> </div>
</div> </div>
</div> </div>
@ -189,11 +203,15 @@
<a <a
slot="reference" slot="reference"
class="reply-to" class="reply-to"
href="#" @click.prevent="gotoOriginal(status.in_reply_to_status_id)" href="#"
:aria-label="$t('tool_tip.reply')" :aria-label="$t('tool_tip.reply')"
@click.prevent="gotoOriginal(status.in_reply_to_status_id)"
> >
<i class="button-icon icon-reply" v-if="!isPreview"></i> <i
<span class="faint-link reply-to-text">{{$t('status.reply_to')}}</span> v-if="!isPreview"
class="button-icon icon-reply"
/>
<span class="faint-link reply-to-text">{{ $t('status.reply_to') }}</span>
</a> </a>
</Popper> </Popper>
<router-link :to="replyProfileLink"> <router-link :to="replyProfileLink">
@ -435,7 +453,6 @@ $status-margin: 0.75em;
justify-content: flex-end; justify-content: flex-end;
} }
.media-left { .media-left {
margin-right: $status-margin; margin-right: $status-margin;
} }