From 9557ec59a86570ff0cde941923ae5415aa6ba39a Mon Sep 17 00:00:00 2001 From: lambda Date: Sun, 22 Apr 2018 20:16:28 +0000 Subject: [PATCH] Update timeline.js --- src/components/timeline/timeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index 674352a5..f24626f9 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -105,7 +105,7 @@ const Timeline = { .then((friends) => this.$store.dispatch('addFriends', { friends })) }, scrollLoad (e) { - const bodyBRect = document.body.getBoundingClientRect(); + const bodyBRect = document.body.getBoundingClientRect() const height = Math.max(bodyBRect.height, -(bodyBRect.y)) if (this.timeline.loading === false && this.$store.state.config.autoLoad &&