Fix issue with the tooltip in the dark mode toggle button

This commit is contained in:
Eduardo Gomez 2021-03-24 19:06:36 +01:00
parent 15bc72e72a
commit 0471891640
2 changed files with 6 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -252,10 +252,12 @@ $(() => {
} }
}) })
$toggleDarkMode.on('hover', () => { $toggleDarkMode.on('mouseenter', () => {
toggleDesktopTopbarOverflow(true)
})
$toggleDarkMode.on('mouseleave', () => {
toggleDesktopTopbarOverflow(true) toggleDesktopTopbarOverflow(true)
}, () => {
toggleDesktopTopbarOverflow(false)
}) })
$closeNotification.on('click', function () { $closeNotification.on('click', function () {