fix: profile dropdown should not set active class

Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
Raccoon 2021-06-11 16:54:54 +08:00
parent 9c6da79cd3
commit a2777ab0e6
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ function pageInit () {
)
}
$('.masthead-nav li').click(function () {
$('.masthead-nav > li').click(function () {
$(this).siblings().removeClass('active')
$(this).addClass('active')
})