forked from mystiq/hydrogen-web
fix typo
This commit is contained in:
parent
165532be30
commit
bc763e2a19
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ async function openClientFromNotif(event) {
|
||||||
if ('focus' in clientWithSession) {
|
if ('focus' in clientWithSession) {
|
||||||
await clientWithSession.focus();
|
await clientWithSession.focus();
|
||||||
}
|
}
|
||||||
} else if (self.client.openWindow) {
|
} else if (self.clients.openWindow) {
|
||||||
console.log("notificationclick: no client found with session open, opening new window");
|
console.log("notificationclick: no client found with session open, opening new window");
|
||||||
await self.clients.openWindow(roomURL);
|
await self.clients.openWindow(roomURL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue