Update timeline.js

This commit is contained in:
lambda 2018-04-22 20:16:28 +00:00
parent 59f98aecd9
commit 9557ec59a8

View File

@ -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 &&