mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-21 11:55:15 +01:00
try to fix sw
This commit is contained in:
parent
957a306d6e
commit
c6a0496927
@ -1,5 +1,5 @@
|
||||
self.addEventListener("notificationclick", event => {
|
||||
console.log("On notification click: ", event);
|
||||
console.log("On notification click: " + event);
|
||||
event.preventDefault();
|
||||
event.notification.close();
|
||||
self.clients.matchAll({type: "window"}).then(it => it.forEach(c => c.postMessage({tag: event.notification.tag, action: event.action})));
|
||||
|
Loading…
Reference in New Issue
Block a user