mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-10-24 00:56:37 +02:00
upd: fix returns
This commit is contained in:
parent
4b31004c2b
commit
939f07fa55
1 changed files with 3 additions and 3 deletions
|
@ -43,9 +43,9 @@ export async function warningExternalWebsite(url: string) {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (confirm.canceled) return false;
|
if (confirm.canceled) return false;
|
||||||
|
|
||||||
window.open(url, '_blank', 'nofollow noopener popup=false');
|
return window.open(url, '_blank', 'nofollow noopener popup=false');
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return window.open(url, '_blank', 'nofollow noopener popup=false');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue