From ea125723e387a544addaa7dc3fdb66c9138eb0f9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 23 Feb 2018 05:06:47 +0900 Subject: [PATCH] :v: --- .../desktop/views/components/widgets/channel.channel.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/web/app/desktop/views/components/widgets/channel.channel.vue b/src/web/app/desktop/views/components/widgets/channel.channel.vue index a28b4aeb9..09154390c 100644 --- a/src/web/app/desktop/views/components/widgets/channel.channel.vue +++ b/src/web/app/desktop/views/components/widgets/channel.channel.vue @@ -34,9 +34,7 @@ export default Vue.extend({ } }, mounted() { - this.$nextTick(() => { - this.zap(); - }); + this.zap(); }, beforeDestroy() { this.disconnect(); @@ -51,7 +49,9 @@ export default Vue.extend({ this.posts = posts; this.fetching = false; - this.scrollToBottom(); + this.$nextTick(() => { + this.scrollToBottom(); + }); this.disconnect(); this.connection = new ChannelStream(this.channel.id);