diff --git a/nginx/vue/src/components/util/AutoScroll.vue b/nginx/vue/src/components/util/AutoScroll.vue index c778eaf..0df118d 100644 --- a/nginx/vue/src/components/util/AutoScroll.vue +++ b/nginx/vue/src/components/util/AutoScroll.vue @@ -29,8 +29,6 @@ function handleHover() { function tick() { const el = container.value; - pos = el.scrollTop / el.scrollHeight; - const reachedBottom = pos <= 0; const reachedTop = pos >= 1;