aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-07-01 14:03:07 -0400
committertaehoon <th.dev91@gmail.com>2019-10-24 15:15:33 -0400
commit498d7bcb5e029650c964ea241ffa3dc44ff6a79e (patch)
tree6c37f060a0a0ca8623966aad4fbf2ea7038b5b07
parent5d6fcb3bb3b901f678c26732037c142bf0145c51 (diff)
use better name
-rw-r--r--src/components/status/status.js2
-rw-r--r--src/components/status/status.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 641702be..d24feccf 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -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) {
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index e0515b33..d59e661c 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -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"