Skip to content

Commit

Permalink
fix: profile dropdown should not set active class
Browse files Browse the repository at this point in the history
Signed-off-by: Raccoon <raccoon@hackmd.io>
  • Loading branch information
a60814billy committed Jun 16, 2021
1 parent 0280a2e commit f9003d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/cover.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function pageInit () {
)
}

$('.masthead-nav li').click(function () {
$('.masthead-nav > li').click(function () {
$(this).siblings().removeClass('active')
$(this).addClass('active')
})
Expand Down

0 comments on commit f9003d3

Please sign in to comment.