Include uncontrolled clients into clients to focus
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user