diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-02-23 05:06:47 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-02-23 05:06:47 +0900 |
| commit | ea125723e387a544addaa7dc3fdb66c9138eb0f9 (patch) | |
| tree | 526aa2d673ff08501f5c52af7d0904115da059dd /src/web | |
| parent | Define NODE_ENV for production build (diff) | |
| download | misskey-ea125723e387a544addaa7dc3fdb66c9138eb0f9.tar.gz misskey-ea125723e387a544addaa7dc3fdb66c9138eb0f9.tar.bz2 misskey-ea125723e387a544addaa7dc3fdb66c9138eb0f9.zip | |
:v:
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/desktop/views/components/widgets/channel.channel.vue | 8 |
1 files 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 a28b4aeb94..09154390c4 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); |