fix: prevent new tab from being focused
This commit is contained in:
1 parent
cc3a83d767
commit
f790cfef2a
1 file changed
+1
-2
+1
-2
@@ -61,8 +61,7 @@ const Actions: FC<Props> = ({ torrent, backdrop, title, provider, playerEntryId,
|
||||
const handleM3ULink = () => {
|
||||
const link = window.open(
|
||||
`${M3UUrl}${encodeURIComponent(`${streamUrl}/stream?m3u&link=${encodeURIComponent(magnet)}`)}`,
|
||||
'_blank',
|
||||
'noopener,noreferrer'
|
||||
'_blank'
|
||||
);
|
||||
setTimeout(() => link?.close(), 1000);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user