Update timeline.js
This commit is contained in:
parent
59f98aecd9
commit
9557ec59a8
|
@ -105,7 +105,7 @@ const Timeline = {
|
||||||
.then((friends) => this.$store.dispatch('addFriends', { friends }))
|
.then((friends) => this.$store.dispatch('addFriends', { friends }))
|
||||||
},
|
},
|
||||||
scrollLoad (e) {
|
scrollLoad (e) {
|
||||||
const bodyBRect = document.body.getBoundingClientRect();
|
const bodyBRect = document.body.getBoundingClientRect()
|
||||||
const height = Math.max(bodyBRect.height, -(bodyBRect.y))
|
const height = Math.max(bodyBRect.height, -(bodyBRect.y))
|
||||||
if (this.timeline.loading === false &&
|
if (this.timeline.loading === false &&
|
||||||
this.$store.state.config.autoLoad &&
|
this.$store.state.config.autoLoad &&
|
||||||
|
|
Loading…
Reference in New Issue