From b4410744836e3573f49c5f45e0ee97b12c44556f Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 16 Apr 2018 20:44:55 +0900 Subject: [PATCH] oops --- src/client/app/mobile/views/components/timeline.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/app/mobile/views/components/timeline.vue b/src/client/app/mobile/views/components/timeline.vue index 17d5d18ff..546270db9 100644 --- a/src/client/app/mobile/views/components/timeline.vue +++ b/src/client/app/mobile/views/components/timeline.vue @@ -62,7 +62,10 @@ export default Vue.extend({ this.connection.off('note', this.onNote); this.connection.off('follow', this.onChangeFollowing); this.connection.off('unfollow', this.onChangeFollowing); + this.connection.off('unfollow', this.onChangeFollowing); (this as any).os.stream.dispose(this.connectionId); + + window.removeEventListener('scroll', this.onScroll); }, methods: { fetch(cb?) {