mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2025-12-16 06:46:33 +01:00
Fix notifications
This commit is contained in:
parent
2902d0fcc5
commit
9538e7be7a
1 changed files with 40 additions and 40 deletions
|
|
@ -11,8 +11,8 @@ function showNewMailsNotification(address, reloadPage) {
|
|||
renotify: true
|
||||
})
|
||||
notification.addEventListener('click', event => {
|
||||
// TODO: does not work after reloading the page, see #1
|
||||
event.preventDefault()
|
||||
window.focus()
|
||||
})
|
||||
|
||||
if (reloadPage) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue