From df814604b532c846fa3f78fe602cc1745ff6bfbe Mon Sep 17 00:00:00 2001 From: yin5th Date: Wed, 2 Aug 2023 07:15:46 +0000 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E4=B8=8A=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/about/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/view/about/index.html b/view/about/index.html index a7eb82c..a73542d 100755 --- a/view/about/index.html +++ b/view/about/index.html @@ -202,6 +202,7 @@ }); $(".inner-nav2 a").click(function() { + $(this).addClass("curr").siblings().removeClass("curr"); $("html, body").animate({ scrollTop: $($(this).attr("href")).offset().top - 130 + "px" }, 1000);