mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2025-12-16 14:56:31 +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
|
renotify: true
|
||||||
})
|
})
|
||||||
notification.addEventListener('click', event => {
|
notification.addEventListener('click', event => {
|
||||||
// TODO: does not work after reloading the page, see #1
|
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
|
window.focus()
|
||||||
})
|
})
|
||||||
|
|
||||||
if (reloadPage) {
|
if (reloadPage) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue