Remove console.log for scrolling

This commit is contained in:
Peter Stuifzand 2018-09-08 20:10:52 +02:00
parent be03ad2b29
commit 4f7d913ce5

View File

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