mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 13:13:08 +02:00
✌️
This commit is contained in:
parent
8cec11c813
commit
ea125723e3
1 changed files with 4 additions and 4 deletions
|
@ -34,9 +34,7 @@ export default Vue.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$nextTick(() => {
|
this.zap();
|
||||||
this.zap();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
this.disconnect();
|
this.disconnect();
|
||||||
|
@ -51,7 +49,9 @@ export default Vue.extend({
|
||||||
this.posts = posts;
|
this.posts = posts;
|
||||||
this.fetching = false;
|
this.fetching = false;
|
||||||
|
|
||||||
this.scrollToBottom();
|
this.$nextTick(() => {
|
||||||
|
this.scrollToBottom();
|
||||||
|
});
|
||||||
|
|
||||||
this.disconnect();
|
this.disconnect();
|
||||||
this.connection = new ChannelStream(this.channel.id);
|
this.connection = new ChannelStream(this.channel.id);
|
||||||
|
|
Loading…
Reference in a new issue