Include uncontrolled clients into clients to focus
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
aed3f74be1
commit
4e1d49693f
|
@ -138,6 +138,7 @@ self.addEventListener("notificationclick", function (event: NotificationEvent) {
|
|||
(async () => {
|
||||
const clientList = await self.clients.matchAll({
|
||||
type: "window",
|
||||
includeUncontrolled: true,
|
||||
});
|
||||
for (let i = 0; i < clientList.length; i++) {
|
||||
const client = clientList[i] as WindowClient;
|
||||
|
|
Loading…
Reference in a new issue