This commit is contained in:
tamaina
2021-01-28 03:49:27 +09:00
parent 906f1f4a87
commit 661082303d
2 changed files with 5 additions and 5 deletions

View File

@@ -116,7 +116,7 @@ self.addEventListener('notificationclick', ev => {
self.addEventListener('notificationclose', async ev => {
self.registration.showNotification('notificationclose');
const { notification } = ev;
const { data } = notification
const { data } = notification;
if (data.isNotification) {
const { origin } = location;