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 0280a2e6ff
commit b8203ae999
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38
1 changed files with 2 additions and 2 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')
})
@ -429,6 +429,6 @@ $('.search').keyup(() => {
checkHistoryList()
})
$(".ui-export-user-data").click(function (e) {
$('.ui-export-user-data').click(function (e) {
document.exportNoteData.submit()
})