From 526eefc18c8d40b0fb8c2201be765b048a32a542 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Wed, 26 May 2021 13:54:20 +0530 Subject: [PATCH] Fix height calculations. --- src/components/WatchVideo.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index f77154e0..2f3765ad 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -36,7 +36,7 @@
-
+
= document.body.offsetHeight - window.innerHeight) { + if (window.innerHeight + window.scrollY >= this.$refs.comments.offsetHeight - window.innerHeight) { this.loading = true; this.fetchJson( Constants.BASE_URL +