Fix notification focus on Chrome (#9467)

This commit is contained in:
DannyDaemonic 2024-05-31 23:19:59 -07:00 committed by GitHub
parent 0e026c0339
commit 7575efccda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,6 +108,9 @@ function newmail_notifier_desktop(body, disabled_callback) {
icon: icon,
});
popup.onclick = function () {
if (window.parent) {
window.parent.focus();
}
this.close();
};
setTimeout(function () {