Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 395b167

Browse files
authored
Show notifications even when Element is focused (#8590)
1 parent 3f2f839 commit 395b167

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Notifier.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@ export const Notifier = {
9595
if (!plaf.supportsNotifications() || !plaf.maySendNotifications()) {
9696
return;
9797
}
98-
if (global.document.hasFocus()) {
99-
return;
100-
}
10198

10299
let msg = this.notificationMessageForEvent(ev);
103100
if (!msg) return;

0 commit comments

Comments
 (0)