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
0280a2e6ff
commit
b8203ae999
|
@ -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')
|
||||||
})
|
})
|
||||||
|
@ -429,6 +429,6 @@ $('.search').keyup(() => {
|
||||||
checkHistoryList()
|
checkHistoryList()
|
||||||
})
|
})
|
||||||
|
|
||||||
$(".ui-export-user-data").click(function (e) {
|
$('.ui-export-user-data').click(function (e) {
|
||||||
document.exportNoteData.submit()
|
document.exportNoteData.submit()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue