mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 16:30:13 +00:00
parent
58c8d21348
commit
69828e8dac
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export async function findClient() {
|
||||||
type: 'window',
|
type: 'window',
|
||||||
});
|
});
|
||||||
for (const c of clients) {
|
for (const c of clients) {
|
||||||
if (c.url.indexOf('?zen') < 0) return c;
|
if (!new URL(c.url).searchParams.has('zen')) return c;
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue