mirror of https://github.com/status-im/codimd.git
fix: profile dropdown should not set active class
Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
parent
9c6da79cd3
commit
a2777ab0e6
|
@ -90,7 +90,7 @@ function pageInit () {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.masthead-nav li').click(function () {
|
$('.masthead-nav > li').click(function () {
|
||||||
$(this).siblings().removeClass('active')
|
$(this).siblings().removeClass('active')
|
||||||
$(this).addClass('active')
|
$(this).addClass('active')
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue