Show notifications even when Element is focused (#8590)

This commit is contained in:
Sumner Evans 2022-05-19 08:44:47 -06:00 committed by GitHub
parent 3f2f839b3b
commit 395b167b20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,9 +95,6 @@ export const Notifier = {
if (!plaf.supportsNotifications() || !plaf.maySendNotifications()) {
return;
}
if (global.document.hasFocus()) {
return;
}
let msg = this.notificationMessageForEvent(ev);
if (!msg) return;