diff --git a/core/pages/Category.js b/core/pages/Category.js index 7e82bb457c..3978a3c0fc 100644 --- a/core/pages/Category.js +++ b/core/pages/Category.js @@ -146,7 +146,7 @@ export default { methods: { bottomVisible () { const scrollY = window.scrollY - const visible = document.documentElement.clientHeight + const visible = window.innerHeight const pageHeight = document.documentElement.scrollHeight const bottomOfPage = visible + scrollY >= pageHeight return bottomOfPage || pageHeight < visible