mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 11:36:24 +01:00
fix typo
This commit is contained in:
parent
165532be30
commit
bc763e2a19
@ -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 New Issue
Block a user