From f9003d35312b036e1001fc0c74450fcfe414c381 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 9a25bc7d2e..fcf07942ae 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') })