From e304ca53839707f29f9f02c19ee58771f7689399 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Thu, 16 Mar 2023 03:21:44 +0300 Subject: [PATCH] fix podcastsoff2 - fixed the emergence of some sections with podcasts on the main page --- patches/patches.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/patches.json b/patches/patches.json index 1ed54c1..d6802c0 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -122,7 +122,7 @@ "do": "" }, "match": "(\\!Array.isArray\\(.\\)\\|\\|.===..length\\)return null;)", - "replace": "$1 const key = e.children?.[0]?.key || e[0]?.key; if (!key || key.includes('episode') || key.includes('show')) {return null;};" + "replace": "$1 for (let i = 0; i < e.length; i++) { const key = e.children?.[i]?.key || e[i]?.key; if (!key || key.includes('episode') || key.includes('show')) { return null;}};" }, "adsectionsoff": { "version": {