use better name

This commit is contained in:
taehoon 2019-07-01 14:03:07 -04:00
parent 5d6fcb3bb3
commit 498d7bcb5e
2 changed files with 2 additions and 2 deletions

View File

@ -388,7 +388,7 @@ const Status = {
if (!this.preview) {
this.$store.state.api.backendInteractor.fetchStatus({ id }).then((status) => {
this.preview = status
this.$nextTick(this.$refs.foo.updatePopper)
this.$nextTick(this.$refs.statusPreviewPopper.updatePopper)
})
}
} else if (this.preview.id !== targetId) {

View File

@ -171,7 +171,7 @@
<div class="heading-reply-row">
<div v-if="isReply" class="reply-to-and-accountname">
<Popper ref="foo" :options="{ placement: 'bottom-start' }" @show="replyEnter(status.in_reply_to_status_id)">
<Popper ref="statusPreviewPopper" :options="{ placement: 'bottom-start' }" @show="replyEnter(status.in_reply_to_status_id)">
<div class="popper-wrapper status-preview">
<status
v-if="preview"