mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +01:00
Try move this down
This commit is contained in:
parent
c538cfeaaa
commit
119dae29ca
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,6 @@ self.addEventListener('notificationclick', (event) => {
|
|||
|
||||
event.waitUntil(
|
||||
(async () => {
|
||||
await event.notification.close();
|
||||
const clients = await self.clients.matchAll({
|
||||
type: 'window',
|
||||
includeUncontrolled: true,
|
||||
|
@ -195,6 +194,7 @@ self.addEventListener('notificationclick', (event) => {
|
|||
console.log('NOTIFICATION CLICK openWindow', url);
|
||||
await self.clients.openWindow(url);
|
||||
}
|
||||
await event.notification.close();
|
||||
})(),
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue