From f790cfef2a2a1029057736a8d5fa1af6b178924e Mon Sep 17 00:00:00 2001 From: ner Date: Sun, 31 Aug 2025 16:35:06 +0300 Subject: [PATCH] fix: prevent new tab from being focused --- .../components/TorrentsTable/components/Actions/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx b/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx index 9d5cca1..c0d4dda 100644 --- a/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx +++ b/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx @@ -61,8 +61,7 @@ const Actions: FC = ({ 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); };