return openWindow promise in service worker

pull/5301/head
Niklas Fiekas 2019-07-10 00:32:38 +02:00
parent e80423fa6e
commit b360ac0689
1 changed files with 1 additions and 1 deletions

View File

@ -43,6 +43,6 @@ self.addEventListener('notificationclick', event => {
}
// open new window
clients.openWindow(url);
return clients.openWindow(url);
}));
});