summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-23 05:06:47 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-23 05:06:47 +0900
commitea125723e387a544addaa7dc3fdb66c9138eb0f9 (patch)
tree526aa2d673ff08501f5c52af7d0904115da059dd /src/web
parentDefine NODE_ENV for production build (diff)
downloadmisskey-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.vue8
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);