From 433a6b642e7409bfc57b7b8187c4d7943eec8cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <2449271624@qq.com> Date: Mon, 4 Sep 2023 14:27:05 +0800 Subject: [PATCH] Update style.js --- src/static/web/js/style.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/static/web/js/style.js b/src/static/web/js/style.js index a21d5c10..4750fd9f 100644 --- a/src/static/web/js/style.js +++ b/src/static/web/js/style.js @@ -2,8 +2,8 @@ $(function() { $(window).on('scroll', function() { var scrolled = $(window).scrollTop(); - if (scrolled > 10) $('#returntop').show(); - if (scrolled < 10) $('#returntop').hide(); + if (scrolled > 100) $('#returntop').show(); + if (scrolled < 100) $('#returntop').hide(); }); $('#returntop').on('click', function() { $('html, body').animate({