This commit is contained in:
tamaina 2021-03-29 21:44:31 +09:00
parent 1e454e99ae
commit 1ad737ad5e

View file

@ -89,7 +89,7 @@ self.addEventListener('push', ev => {
createEmptyNotification(); createEmptyNotification();
setTimeout(async () => { setTimeout(async () => {
for (const n of for (const n of
[ [
...(await self.registration.getNotifications({ tag: 'user_visible_auto_notification' })), ...(await self.registration.getNotifications({ tag: 'user_visible_auto_notification' })),
...(await self.registration.getNotifications({ tag: 'read_notification' })) ...(await self.registration.getNotifications({ tag: 'read_notification' }))
@ -97,7 +97,7 @@ self.addEventListener('push', ev => {
) { ) {
n.close(); n.close();
} }
}, 500); }, 500);
})); }));
}); });
//#endregion //#endregion