diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue index 9ba41a11ed66d7f66885c37445ed881bc0afd3ed..e6d599537e0754a1de5bf91dbb500c66c7ebee0c 100644 --- a/src/components/DictionaryView.vue +++ b/src/components/DictionaryView.vue @@ -434,6 +434,12 @@ export default { if (window.pageYOffset > this.max_scroll && window.pageYOffset > window.window.innerHeight) { this.max_scroll = document.body.scrollHeight - window.window.innerHeight-1 console.log("MAX", this.max_scroll) + + this.max_scroll += window.window.innerHeight + if (this.max_scroll > document.body.scrollHeight - window.window.innerHeight-1) { + this.max_scroll = document.body.scrollHeight - window.window.innerHeight-1 + } + let offset = 10 * this.page this.page += 1 if (!self.waiting_for_articles) {