Remove console.log for scrolling
This commit is contained in:
parent
be03ad2b29
commit
4f7d913ce5
|
@ -63,8 +63,6 @@
|
||||||
handleScroll() {
|
handleScroll() {
|
||||||
// let bottomOfWindow = document.documentElement.scrollTop + window.innerHeight === document.documentElement.offsetHeight;
|
// let bottomOfWindow = document.documentElement.scrollTop + window.innerHeight === document.documentElement.offsetHeight;
|
||||||
let bottomOfWindow = document.documentElement.scrollTop + window.innerHeight === this.$el.offsetHeight + document.documentElement.offsetHeight + 12
|
let bottomOfWindow = document.documentElement.scrollTop + window.innerHeight === this.$el.offsetHeight + document.documentElement.offsetHeight + 12
|
||||||
// eslint-disable-next-line
|
|
||||||
console.log(document.documentElement.scrollTop + window.innerHeight, this.$el.offsetHeight + document.documentElement.offsetHeight + 12)
|
|
||||||
if (bottomOfWindow) {
|
if (bottomOfWindow) {
|
||||||
this.$store.dispatch('bottomReached')
|
this.$store.dispatch('bottomReached')
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user