From a2777ab0e6b55816b568d13d27bc81785a28ab94 Mon Sep 17 00:00:00 2001 From: Raccoon Date: Fri, 11 Jun 2021 16:54:54 +0800 Subject: [PATCH] fix: profile dropdown should not set active class Signed-off-by: Raccoon --- public/js/cover.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/cover.js b/public/js/cover.js index 9a25bc7d..fcf07942 100644 --- a/public/js/cover.js +++ b/public/js/cover.js @@ -90,7 +90,7 @@ function pageInit () { ) } -$('.masthead-nav li').click(function () { +$('.masthead-nav > li').click(function () { $(this).siblings().removeClass('active') $(this).addClass('active') })