Skip to content

Commit b8203ae

Browse files
committed
fix: profile dropdown should not set active class
Signed-off-by: Raccoon <[email protected]>
1 parent 0280a2e commit b8203ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/js/cover.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function pageInit () {
9090
)
9191
}
9292

93-
$('.masthead-nav li').click(function () {
93+
$('.masthead-nav > li').click(function () {
9494
$(this).siblings().removeClass('active')
9595
$(this).addClass('active')
9696
})
@@ -429,6 +429,6 @@ $('.search').keyup(() => {
429429
checkHistoryList()
430430
})
431431

432-
$(".ui-export-user-data").click(function (e) {
432+
$('.ui-export-user-data').click(function (e) {
433433
document.exportNoteData.submit()
434434
})

0 commit comments

Comments
 (0)