Include uncontrolled clients into clients to focus

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
chapril
Thomas Citharel 2 years ago
parent aed3f74be1
commit 4e1d49693f
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

@ -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…
Cancel
Save